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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009831/0.0009831, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.000971/0.000971, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.701/2.701, allocations: 436.5 MB / 0.7104 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003487, allocations: 12 kB / 0.8708 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8034/0.8038, allocations: 153.6 MB / 1.021 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001144/0.805, allocations: 0.5318 MB / 1.021 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001955/0.807, allocations: 1.37 MB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.366e-05/0.8071, allocations: 0 / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.8072, allocations: 11.92 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.113e-05/0.8073, allocations: 35.88 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.8084, allocations: 470.7 kB / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.8088, allocations: 239.6 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.809, allocations: 45.39 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.8092, allocations: 151.8 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.8094, allocations: 131.6 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.599e-05/0.8094, allocations: 20 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.8095, allocations: 39.92 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.597e-05/0.8096, allocations: 27.91 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.8097, allocations: 69.64 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.8101, allocations: 285.2 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.8101, allocations: 0 / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8101, allocations: 0 / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.8102, allocations: 0 / 1.024 GB, free: 13.67 MB / 0.7794 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.0007249/0.8109, allocations: 0.579 MB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.8109, allocations: 15.98 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.463e-05/0.811, allocations: 31.75 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.8114, allocations: 266.7 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/0.8115, allocations: 16 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.142e-05/0.8115, allocations: 35.94 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.8118, allocations: 139.3 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.8118, allocations: 7.875 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.8119, allocations: 7.984 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.8119, allocations: 4 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.812, allocations: 83.95 kB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009214/0.8129, allocations: 0.7033 MB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.8132, allocations: 175.6 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.8132, allocations: 4 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003104/0.8135, allocations: 159.2 kB / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.8135, allocations: 0 / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0004996/0.814, allocations: 246.5 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.8141, allocations: 55.41 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.8143, allocations: 179.7 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.252e-05/0.8143, allocations: 37.7 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.8145, allocations: 136.4 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.8145, allocations: 31.61 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.8146, allocations: 16 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.8147, allocations: 326.8 kB / 1.027 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.815, allocations: 159.9 kB / 1.027 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003822/0.8154, allocations: 236.5 kB / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.8158, allocations: 284.5 kB / 1.028 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.8158, allocations: 7.953 kB / 1.028 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009987/0.8168, allocations: 0.6219 MB / 1.029 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.817, allocations: 160.5 kB / 1.029 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.817, allocations: 4 kB / 1.029 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.817, allocations: 7.938 kB / 1.029 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.191e-05/0.8171, allocations: 15.92 kB / 1.029 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.8171, allocations: 7.984 kB / 1.029 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/0.818, allocations: 196 kB / 1.029 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/0.8181, allocations: 35.97 kB / 1.029 GB, free: 8.344 MB / 0.7794 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,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001873/0.8183, allocations: 149.8 kB / 1.029 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.8183, allocations: 19.77 kB / 1.029 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.223e-05/0.8184, allocations: 17.88 kB / 1.029 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.8184, allocations: 8 kB / 1.029 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8184, allocations: 0 / 1.029 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.8184, allocations: 3.984 kB / 1.029 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005484/0.819, allocations: 0.5082 MB / 1.03 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.819, allocations: 4 kB / 1.03 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.944e-05/0.819, allocations: 7.938 kB / 1.03 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.819, allocations: 4 kB / 1.03 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.819, allocations: 4.078 kB / 1.03 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.8191, allocations: 7.938 kB / 1.03 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8191, allocations: 4 kB / 1.03 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.8193, allocations: 275.2 kB / 1.03 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.8194, allocations: 92.88 kB / 1.03 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.8194, allocations: 4 kB / 1.03 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.524e-05/0.8195, allocations: 4 kB / 1.03 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.8196, allocations: 19.97 kB / 1.03 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.8196, allocations: 15.98 kB / 1.03 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.347e-05/0.8197, allocations: 116.2 kB / 1.03 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8197, allocations: 8 kB / 1.03 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003561/0.82, allocations: 79.94 kB / 1.03 GB, free: 6.91 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001848/0.8202, allocations: 111.8 kB / 1.03 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007341/0.821, allocations: 0.6124 MB / 1.031 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.821, allocations: 0 / 1.031 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.8211, allocations: 87.95 kB / 1.031 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.8215, allocations: 43.89 kB / 1.031 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/0.8221, allocations: 357.1 kB / 1.031 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.8224, allocations: 0.7362 MB / 1.032 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.774e-05/0.8225, allocations: 21.55 kB / 1.032 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.8225, allocations: 19.42 kB / 1.032 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of SimCode: time 1.312e-06/0.8225, allocations: 0 / 1.032 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of Templates: time 0.007337/0.8299, allocations: 4.133 MB / 1.036 GB, free: 0.7461 MB / 0.7794 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches