Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002332/0.002332, allocations: 222.9 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.155/3.155, allocations: 0.4892 GB / 0.7951 GB, free: 35.35 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 65.95 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3582, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002184/0.3604, allocations: 0.6464 MB / 1.327 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.3625, allocations: 1.21 MB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.91e-05/0.3626, allocations: 0 / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.3626, allocations: 0 / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.798e-05/0.3627, allocations: 15.78 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006949/0.3634, allocations: 222.9 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.3636, allocations: 167.8 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.309e-05/0.3637, allocations: 11.98 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.3639, allocations: 71.83 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.364, allocations: 55.84 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.213e-05/0.364, allocations: 19.94 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.411e-05/0.3641, allocations: 27.98 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.3642, allocations: 8 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.389e-05/0.3642, allocations: 63.81 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.3645, allocations: 147.5 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3645, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3645, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3645, allocations: 4 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006464/0.3651, allocations: 357.5 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3652, allocations: 16.02 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/0.3652, allocations: 4.938 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.3654, allocations: 118.5 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.3654, allocations: 8.375 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.3654, allocations: 12.31 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.3655, allocations: 50.23 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.3655, allocations: 192 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3656, allocations: 3.938 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3656, allocations: 8 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.99e-05/0.3656, allocations: 12 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.3661, allocations: 268.5 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.315e-05/0.3662, allocations: 34.5 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.3662, allocations: 16.8 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.3662, allocations: 4 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.3664, allocations: 83.41 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.3664, allocations: 0 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002656/0.3667, allocations: 105.6 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.3667, allocations: 59.39 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.3668, allocations: 117.8 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.3669, allocations: 29.7 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.3671, allocations: 92.12 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.3671, allocations: 11.91 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.93e-05/0.3672, allocations: 54 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0003069/0.3675, allocations: 322.8 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.3677, allocations: 115.4 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.368, allocations: 159.6 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.3682, allocations: 167.5 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3682, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005165/0.3688, allocations: 328.2 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.899e-05/0.3688, allocations: 67.39 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3688, allocations: 320 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3688, allocations: 4.062 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.021e-05/0.3689, allocations: 4 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3689, allocations: 4.125 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.3692, allocations: 55.89 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.3692, allocations: 19.97 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nand1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.3694, allocations: 129.7 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.3694, allocations: 4 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.3694, allocations: 4.375 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3694, allocations: 4 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3694, allocations: 4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3694, allocations: 3.984 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.3695, allocations: 121.2 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3695, allocations: 4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.836e-06/0.3696, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3696, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3696, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3696, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3696, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.3697, allocations: 109 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.3698, allocations: 7.953 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.3698, allocations: 16.02 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.983e-05/0.3698, allocations: 3.938 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.3698, allocations: 11.97 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3698, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.633e-05/0.3699, allocations: 87.28 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3699, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002519/0.3701, allocations: 35.98 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001594/0.3703, allocations: 103.2 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004514/0.3708, allocations: 286.1 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3708, allocations: 0 / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.04e-05/0.3708, allocations: 27.97 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.371, allocations: 23.86 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004303/0.3715, allocations: 180.5 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.918e-05/0.3715, allocations: 67.34 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.3716, allocations: 15.69 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3716, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of Templates: time 0.003499/0.3751, allocations: 1.405 MB / 1.334 GB, free: 9.461 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.195560122840106]