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.0009651/0.0009652, allocations: 98.48 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 185.7 kB / 16.92 MB, free: 6.75 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.408/1.408, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.809/2.809, allocations: 462.6 MB / 0.737 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003866, allocations: 8.188 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3433, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.00107/0.3444, allocations: 0.5401 MB / 1.06 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00221/0.3467, allocations: 1.541 MB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.3468, allocations: 4 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.3469, allocations: 11.86 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.3471, allocations: 31.77 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.3484, allocations: 485.1 kB / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005544/0.349, allocations: 427.1 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.3492, allocations: 37.48 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.3495, allocations: 163.6 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.3497, allocations: 135.6 kB / 1.063 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.3498, allocations: 20 kB / 1.063 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.3499, allocations: 31.98 kB / 1.063 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.35, allocations: 39.89 kB / 1.063 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.3502, allocations: 165.2 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.3506, allocations: 279.5 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3506, allocations: 0 / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3506, allocations: 0 / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.3506, allocations: 0 / 1.063 GB, free: 1.09 MB / 0.8106 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.0007204/0.3513, allocations: 0.5775 MB / 1.064 GB, free: 440 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3514, allocations: 11.97 kB / 1.064 GB, free: 428 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.3515, allocations: 28.75 kB / 1.064 GB, free: 400 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.3519, allocations: 264 kB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.3519, allocations: 20.36 kB / 1.064 GB, free: 76 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.616e-05/0.352, allocations: 32.31 kB / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.3523, allocations: 149.5 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3523, allocations: 192 / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.3523, allocations: 7.938 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3523, allocations: 4 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.3525, allocations: 83.89 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000941/0.3534, allocations: 0.7109 MB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.3537, allocations: 171.6 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.286e-05/0.3537, allocations: 41.03 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.3538, allocations: 3.938 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.354, allocations: 159.2 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.354, allocations: 0 / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0004708/0.3545, allocations: 243.8 kB / 1.066 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.3546, allocations: 59.39 kB / 1.066 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.3547, allocations: 179.8 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.3548, allocations: 49.64 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.3549, allocations: 124.4 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.355, allocations: 43.53 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-05/0.3551, allocations: 57.69 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3552, allocations: 326.8 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.3555, allocations: 151.9 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.3558, allocations: 238.2 kB / 1.067 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/0.3563, allocations: 416.7 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3563, allocations: 0 / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009867/0.3573, allocations: 0.6181 MB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.3574, allocations: 164.5 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.3575, allocations: 7.938 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3575, allocations: 4 kB / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.834e-05/0.3575, allocations: 11.94 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3575, allocations: 4 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009198/0.3585, allocations: 195.8 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.255e-05/0.3586, allocations: 35.97 kB / 1.068 GB, free: 11.52 MB / 0.8262 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.0001946/0.3588, allocations: 157.5 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.3588, allocations: 15.81 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.3588, allocations: 25.8 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3589, allocations: 4 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3589, allocations: 0 / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.3589, allocations: 4 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005563/0.3594, allocations: 0.5061 MB / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3595, allocations: 3.938 kB / 1.069 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.3595, allocations: 7.984 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3595, allocations: 0 / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.3595, allocations: 8 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3595, allocations: 3.938 kB / 1.069 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3595, allocations: 0 / 1.069 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.3598, allocations: 292.9 kB / 1.069 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.3599, allocations: 92.86 kB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.3599, allocations: 4 kB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.36, allocations: 11.92 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.3601, allocations: 15.98 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.3601, allocations: 11.98 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.219e-05/0.3602, allocations: 115.2 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3602, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00038/0.3606, allocations: 84 kB / 1.069 GB, free: 10.07 MB / 0.8262 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.0001995/0.3608, allocations: 115.2 kB / 1.07 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008004/0.3616, allocations: 0.614 MB / 1.07 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3616, allocations: 0 / 1.07 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.3617, allocations: 85.61 kB / 1.07 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.3622, allocations: 47.84 kB / 1.07 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006862/0.3629, allocations: 406.4 kB / 1.071 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.3632, allocations: 0.7323 MB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.3632, allocations: 15.44 kB / 1.071 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3632, allocations: 0 / 1.071 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of Templates: time 0.006099/0.3694, allocations: 3.309 MB / 1.075 GB, free: 4.672 MB / 0.8262 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result: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,time