Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009656/0.009657, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001962/0.001962, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.83/2.83, allocations: 472.7 MB / 0.7453 GB, free: 440 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 63.91 kB / 1.07 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172/1.174, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002676/1.177, allocations: 0.8297 MB / 1.226 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002313/1.179, allocations: 1.478 MB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/1.18, allocations: 0 / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002598/1.18, allocations: 15.8 kB / 1.228 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002051/1.18, allocations: 39.66 kB / 1.228 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001958/1.182, allocations: 0.5155 MB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0009457/1.183, allocations: 0.4953 MB / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/1.183, allocations: 49.42 kB / 1.229 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003829/1.184, allocations: 179.7 kB / 1.229 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004409/1.184, allocations: 179.4 kB / 1.229 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001698/1.184, allocations: 40 kB / 1.229 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/1.184, allocations: 59.98 kB / 1.229 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.886e-05/1.185, allocations: 35.91 kB / 1.229 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000263/1.185, allocations: 163.5 kB / 1.23 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005842/1.185, allocations: 411.3 kB / 1.23 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.185, allocations: 0 / 1.23 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.034e-06/1.185, allocations: 0 / 1.23 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.362e-05/1.185, allocations: 0 / 1.23 GB, free: 8.996 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009291/1.186, allocations: 0.6552 MB / 1.231 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/1.186, allocations: 12.03 kB / 1.231 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/1.187, allocations: 32.84 kB / 1.231 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/1.187, allocations: 264.1 kB / 1.231 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/1.187, allocations: 16.38 kB / 1.231 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/1.187, allocations: 32.36 kB / 1.231 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/1.187, allocations: 157.5 kB / 1.231 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/1.187, allocations: 192 / 1.231 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/1.187, allocations: 11.94 kB / 1.231 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/1.187, allocations: 0 / 1.231 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/1.188, allocations: 75.95 kB / 1.231 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/1.189, allocations: 0.7148 MB / 1.232 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/1.189, allocations: 171.6 kB / 1.232 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.272e-05/1.189, allocations: 48.83 kB / 1.232 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/1.189, allocations: 0 / 1.232 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/1.189, allocations: 167.4 kB / 1.232 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/1.189, allocations: 0 / 1.232 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.0004978/1.19, allocations: 239.5 kB / 1.233 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/1.19, allocations: 63.33 kB / 1.233 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/1.19, allocations: 186.1 kB / 1.233 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/1.19, allocations: 37.7 kB / 1.233 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/1.19, allocations: 128.6 kB / 1.233 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/1.19, allocations: 51.62 kB / 1.233 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/1.19, allocations: 113.6 kB / 1.233 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.191, allocations: 330.8 kB / 1.233 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/1.191, allocations: 151.9 kB / 1.234 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/1.191, allocations: 242.1 kB / 1.234 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005072/1.192, allocations: 402.8 kB / 1.234 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.192, allocations: 0 / 1.234 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001097/1.193, allocations: 0.6197 MB / 1.235 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/1.193, allocations: 160.5 kB / 1.235 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/1.193, allocations: 7.938 kB / 1.235 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/1.193, allocations: 7.938 kB / 1.235 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.257e-05/1.193, allocations: 7.984 kB / 1.235 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/1.193, allocations: 7.938 kB / 1.235 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007981/1.194, allocations: 144 kB / 1.235 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.212e-05/1.194, allocations: 31.97 kB / 1.235 GB, free: 3.328 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0002109/1.194, allocations: 162.2 kB / 1.235 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/1.194, allocations: 15.91 kB / 1.235 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.342e-05/1.194, allocations: 21.81 kB / 1.235 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.194, allocations: 4 kB / 1.235 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.194, allocations: 3.984 kB / 1.235 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.194, allocations: 0 / 1.235 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006629/1.195, allocations: 0.5023 MB / 1.236 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.195, allocations: 96 / 1.236 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/1.195, allocations: 15.86 kB / 1.236 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.195, allocations: 0 / 1.236 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/1.195, allocations: 8 kB / 1.236 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/1.195, allocations: 0 / 1.236 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.195, allocations: 0 / 1.236 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/1.195, allocations: 281.5 kB / 1.236 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/1.196, allocations: 96.89 kB / 1.236 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/1.196, allocations: 12 kB / 1.236 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/1.196, allocations: 4 kB / 1.236 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/1.196, allocations: 27.86 kB / 1.236 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/1.196, allocations: 12 kB / 1.236 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.124e-05/1.196, allocations: 124.2 kB / 1.236 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/1.196, allocations: 0 / 1.236 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004171/1.196, allocations: 80 kB / 1.236 GB, free: 1.871 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000225/1.197, allocations: 116.1 kB / 1.237 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008186/1.197, allocations: 0.6101 MB / 1.237 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.197, allocations: 4 kB / 1.237 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/1.197, allocations: 77.62 kB / 1.237 GB, free: 1 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/1.198, allocations: 62.22 kB / 1.237 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006533/1.199, allocations: 321.1 kB / 1.238 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/1.199, allocations: 0.7242 MB / 1.238 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.044e-05/1.199, allocations: 25.55 kB / 1.238 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/1.199, allocations: 19.44 kB / 1.238 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of SimCode: time 4e-07/1.199, allocations: 0 / 1.238 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of Templates: time 0.009416/1.209, allocations: 4.57 MB / 1.243 GB, free: 11.29 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches