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.001794/0.001794, allocations: 109.8 kB / 16.42 MB, free: 6.504 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.00182/0.00182, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 63.91 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.007, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001999/1.009, allocations: 0.6429 MB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001693/1.01, allocations: 1.19 MB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.856e-05/1.01, allocations: 0 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/1.01, allocations: 7.875 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.187e-05/1.011, allocations: 11.91 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007504/1.011, allocations: 218.7 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002547/1.012, allocations: 191.7 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/1.012, allocations: 15.97 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/1.012, allocations: 55.97 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/1.012, allocations: 67.77 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/1.012, allocations: 16 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.06e-05/1.012, allocations: 31.98 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/1.012, allocations: 8 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.582e-05/1.012, allocations: 59.81 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/1.012, allocations: 143.7 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.012, allocations: 4 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/1.012, allocations: 0 / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.095e-05/1.012, allocations: 0 / 1.211 GB, free: 10.95 MB / 0.9356 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.0005845/1.013, allocations: 440.3 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.013, allocations: 8.031 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.755e-05/1.013, allocations: 12.84 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/1.013, allocations: 172.3 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/1.013, allocations: 8.359 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/1.013, allocations: 12.38 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/1.013, allocations: 46.25 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.013, allocations: 4.172 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/1.013, allocations: 3.938 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/1.014, allocations: 0 / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.563e-05/1.014, allocations: 19.92 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/1.014, allocations: 352.7 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.531e-05/1.014, allocations: 34.52 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/1.014, allocations: 16.94 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/1.014, allocations: 0 / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/1.014, allocations: 91.3 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/1.014, allocations: 0 / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0002373/1.015, allocations: 105.6 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/1.015, allocations: 55.41 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/1.015, allocations: 121.8 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/1.015, allocations: 33.7 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/1.015, allocations: 92.05 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/1.015, allocations: 7.906 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/1.015, allocations: 49.67 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.015, allocations: 322.8 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/1.015, allocations: 67.91 kB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/1.015, allocations: 88.25 kB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/1.016, allocations: 159.6 kB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.016, allocations: 0 / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004111/1.016, allocations: 260.8 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.843e-05/1.016, allocations: 69.27 kB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.016, allocations: 4 kB / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/1.016, allocations: 0 / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.474e-05/1.016, allocations: 7.984 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.016, allocations: 8.344 kB / 1.214 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/1.017, allocations: 63.91 kB / 1.214 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/1.017, allocations: 11.98 kB / 1.214 GB, free: 7.953 MB / 0.9356 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.0001272/1.017, allocations: 121.8 kB / 1.214 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/1.017, allocations: 4 kB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/1.017, allocations: 12.31 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/1.017, allocations: 0 / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/1.017, allocations: 8 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/1.017, allocations: 85 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/1.017, allocations: 0 / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.507e-05/1.017, allocations: 7.938 kB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/1.017, allocations: 4 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001609/1.017, allocations: 160.9 kB / 1.214 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001972/1.017, allocations: 254.7 kB / 1.214 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.649e-05/1.017, allocations: 31.97 kB / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.77e-05/1.017, allocations: 91.27 kB / 1.214 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of Backend: time 5.61e-07/1.017, allocations: 0 / 1.214 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006612/1.018, allocations: 305.1 kB / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006287/1.019, allocations: 0.6044 MB / 1.215 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of Templates: time 0.004941/1.024, allocations: 1.944 MB / 1.217 GB, free: 4.234 MB / 0.9356 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/jenkins1/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