Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.001932/0.001932, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.002233/0.002233, allocations: 164.4 kB / 22.46 MB, free: 5.375 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.685/1.685, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.986/2.986, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.524e-05, allocations: 6.281 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.00175/0.001775, allocations: 0.6508 MB / 1.001 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.003492, allocations: 1.209 MB / 1.002 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.704e-05/0.003549, allocations: 4 kB / 1.002 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.00358, allocations: 3.938 kB / 1.002 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.272e-05/0.003663, allocations: 15.86 kB / 1.002 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000724/0.004387, allocations: 217.4 kB / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000293/0.00468, allocations: 175.6 kB / 1.002 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.001e-05/0.00477, allocations: 4 kB / 1.002 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.00495, allocations: 99.91 kB / 1.002 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.005144, allocations: 51.84 kB / 1.003 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.005187, allocations: 16 kB / 1.003 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-05/0.005274, allocations: 24 kB / 1.003 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.005299, allocations: 11.98 kB / 1.003 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.922e-05/0.005388, allocations: 51.89 kB / 1.003 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.005675, allocations: 179.6 kB / 1.003 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.005677, allocations: 0 / 1.003 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.21e-07/0.005678, allocations: 3.938 kB / 1.003 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.005683, allocations: 0 / 1.003 GB, free: 4.562 MB / 0.9512 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.0005602/0.006243, allocations: 357.6 kB / 1.003 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.006279, allocations: 12.03 kB / 1.003 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.886e-05/0.006358, allocations: 16.88 kB / 1.003 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.006466, allocations: 121.6 kB / 1.003 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.006489, allocations: 8.375 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.006525, allocations: 8.375 kB / 1.003 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.006638, allocations: 46.23 kB / 1.003 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.006646, allocations: 192 / 1.003 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.006664, allocations: 8.312 kB / 1.003 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.006669, allocations: 384 / 1.003 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.603e-05/0.006715, allocations: 19.94 kB / 1.003 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.007165, allocations: 268.5 kB / 1.004 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.327e-05/0.007258, allocations: 30.56 kB / 1.004 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.007288, allocations: 16.86 kB / 1.004 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.007298, allocations: 0 / 1.004 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.007479, allocations: 87.34 kB / 1.004 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.007481, allocations: 0 / 1.004 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0002608/0.007741, allocations: 105.6 kB / 1.004 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.007786, allocations: 55.41 kB / 1.004 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.007903, allocations: 121.8 kB / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.007943, allocations: 29.7 kB / 1.004 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.342e-05/0.008016, allocations: 96.12 kB / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.008039, allocations: 19.84 kB / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.008142, allocations: 45.69 kB / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.008286, allocations: 314.8 kB / 1.004 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.008473, allocations: 119.4 kB / 1.005 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.00868, allocations: 159.6 kB / 1.005 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.008903, allocations: 155.6 kB / 1.005 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.008905, allocations: 4.469 kB / 1.005 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005193/0.009424, allocations: 332.1 kB / 1.005 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.989e-05/0.009484, allocations: 67.39 kB / 1.005 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.009493, allocations: 7.984 kB / 1.005 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.009509, allocations: 3.938 kB / 1.005 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.466e-05/0.009534, allocations: 8.062 kB / 1.005 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.009539, allocations: 0 / 1.005 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.009896, allocations: 56.06 kB / 1.005 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.009929, allocations: 11.98 kB / 1.005 GB, free: 1.613 MB / 0.9512 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,and1.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.0001167/0.01005, allocations: 121.8 kB / 1.005 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.01007, allocations: 11.89 kB / 1.006 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.0101, allocations: 12.44 kB / 1.006 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.0101, allocations: 0 / 1.006 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.01011, allocations: 0 / 1.006 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01011, allocations: 0 / 1.006 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.01024, allocations: 129.3 kB / 1.006 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01024, allocations: 4 kB / 1.006 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-06/0.01025, allocations: 0 / 1.006 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.01025, allocations: 3.938 kB / 1.006 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.01026, allocations: 0 / 1.006 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01026, allocations: 4 kB / 1.006 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01026, allocations: 0 / 1.006 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.01042, allocations: 113 kB / 1.006 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.01044, allocations: 11.89 kB / 1.006 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.01046, allocations: 7.922 kB / 1.006 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.995e-05/0.01048, allocations: 0 / 1.006 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.01051, allocations: 8 kB / 1.006 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.01053, allocations: 7.984 kB / 1.006 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.444e-05/0.01059, allocations: 87.28 kB / 1.006 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.01059, allocations: 0 / 1.006 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002387/0.01083, allocations: 28 kB / 1.006 GB, free: 1.016 MB / 0.9512 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,and1.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.0001539/0.01098, allocations: 107.2 kB / 1.006 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004081/0.01139, allocations: 282.1 kB / 1.006 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01139, allocations: 288 / 1.006 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.89e-05/0.01144, allocations: 24.19 kB / 1.006 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.01167, allocations: 24.47 kB / 1.006 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.01204, allocations: 149.5 kB / 1.006 GB, free: 372 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.645e-05/0.01211, allocations: 71.33 kB / 1.007 GB, free: 280 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.01214, allocations: 11.8 kB / 1.007 GB, free: 268 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.01217, allocations: 16.5 kB / 1.007 GB, free: 252 kB / 0.9512 GB Notification: Performance of SimCode: time 4.51e-07/0.01217, allocations: 0 / 1.007 GB, free: 252 kB / 0.9512 GB Notification: Performance of Templates: time 0.005509/0.01768, allocations: 2.034 MB / 1.009 GB, free: 14.26 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.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: 8.63092777132988]