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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01251/0.01251, allocations: 104.7 kB / 15.74 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 197.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.734/1.734, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.944/2.944, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001578, allocations: 59.91 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.4515, allocations: 157.4 MB / 1.208 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002719/0.4543, allocations: 0.651 MB / 1.208 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.4563, allocations: 1.182 MB / 1.21 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.4564, allocations: 0 / 1.21 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.944e-05/0.4565, allocations: 3.938 kB / 1.21 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.4566, allocations: 11.91 kB / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000838/0.4575, allocations: 223.9 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.4578, allocations: 179.7 kB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.4579, allocations: 15.97 kB / 1.21 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.4581, allocations: 67.83 kB / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.4582, allocations: 63.84 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.4583, allocations: 16 kB / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.797e-05/0.4584, allocations: 31.98 kB / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.4584, allocations: 7.984 kB / 1.21 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.305e-05/0.4585, allocations: 55.83 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.4588, allocations: 151.7 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.4588, allocations: 3.938 kB / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of FrontEnd: time 6.072e-06/0.4588, allocations: 7.922 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.4588, allocations: 0 / 1.21 GB, free: 6.992 MB / 0.9669 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.0006527/0.4595, allocations: 438.6 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4595, allocations: 12.62 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.4596, allocations: 8.938 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.4598, allocations: 172.2 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.4598, allocations: 8.359 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.4598, allocations: 16.38 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.46, allocations: 42.25 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.46, allocations: 192 / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.46, allocations: 7.922 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.46, allocations: 4 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.698e-05/0.4601, allocations: 8 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.4607, allocations: 356.8 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.946e-05/0.4608, allocations: 38.44 kB / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.722e-05/0.4608, allocations: 16.86 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.4608, allocations: 0 / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002267/0.4611, allocations: 79.47 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.4611, allocations: 0 / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003013/0.4614, allocations: 113.7 kB / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.4615, allocations: 55.39 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.4616, allocations: 113.8 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.4616, allocations: 33.7 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.4617, allocations: 96.05 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.4617, allocations: 11.8 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.774e-05/0.4618, allocations: 49.69 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.462, allocations: 322.8 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.4621, allocations: 63.95 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.4623, allocations: 95.33 kB / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.4625, allocations: 163.6 kB / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4625, allocations: 0 / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004435/0.463, allocations: 256.9 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.976e-05/0.4631, allocations: 73.27 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4631, allocations: 3.938 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.4631, allocations: 4 kB / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.514e-05/0.4632, allocations: 0 / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.4632, allocations: 8.125 kB / 1.213 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.4635, allocations: 51.84 kB / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.4635, allocations: 15.98 kB / 1.213 GB, free: 4.008 MB / 0.9669 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.0001402/0.4637, allocations: 129.7 kB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.4637, allocations: 7.906 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.4638, allocations: 12.44 kB / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4638, allocations: 4 kB / 1.213 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.4638, allocations: 3.984 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4638, allocations: 0 / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.464, allocations: 177.6 kB / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.464, allocations: 0 / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.464, allocations: 4 kB / 1.213 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.464, allocations: 0 / 1.213 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.464, allocations: 3.984 kB / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.464, allocations: 0 / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.464, allocations: 0 / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.4642, allocations: 117.5 kB / 1.213 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.863e-05/0.4643, allocations: 85.02 kB / 1.213 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.4643, allocations: 0 / 1.213 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.985e-05/0.4643, allocations: 4 kB / 1.213 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.4644, allocations: 7.984 kB / 1.213 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.4644, allocations: 4 kB / 1.213 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.69e-05/0.4645, allocations: 91.2 kB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4645, allocations: 4 kB / 1.214 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002507/0.4647, allocations: 32 kB / 1.214 GB, free: 3.234 MB / 0.9669 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.0002204/0.465, allocations: 99.25 kB / 1.214 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004153/0.4654, allocations: 254.6 kB / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4654, allocations: 0 / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.281e-05/0.4655, allocations: 27.92 kB / 1.214 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.4657, allocations: 20.23 kB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/0.4661, allocations: 150.7 kB / 1.214 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.4665, allocations: 0.6884 MB / 1.215 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.193e-05/0.4666, allocations: 7.984 kB / 1.215 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.4666, allocations: 11.44 kB / 1.215 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.4666, allocations: 0 / 1.215 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of Templates: time 0.004856/0.4715, allocations: 1.845 MB / 1.217 GB, free: 76 kB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) 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) Reference file matches