Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001599/0.0016, allocations: 168.7 kB / 15.95 MB, free: 204 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.515/1.515, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.777/2.777, allocations: 437.8 MB / 0.7117 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003851, allocations: 15.98 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8352/0.8356, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001304/0.837, allocations: 424.9 kB / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.8391, allocations: 1.245 MB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.052e-05/0.8392, allocations: 4 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.439e-05/0.8392, allocations: 3.938 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.8394, allocations: 11.91 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008183/0.8402, allocations: 283.2 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.8404, allocations: 203.6 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.8405, allocations: 12.16 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.8407, allocations: 87.86 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.8408, allocations: 67.78 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.8409, allocations: 12 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.155e-05/0.841, allocations: 31.97 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.8411, allocations: 15.92 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.342e-05/0.8411, allocations: 45.7 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.8413, allocations: 149.6 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.8414, allocations: 0 / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.775e-06/0.8414, allocations: 0 / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.8414, allocations: 0 / 1.025 GB, free: 13.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005984/0.842, allocations: 464.1 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.842, allocations: 8.031 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.014e-05/0.8421, allocations: 15.91 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.8423, allocations: 174.9 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.8423, allocations: 12 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.8424, allocations: 19.98 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.8425, allocations: 61.61 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.8425, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.8426, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.8426, allocations: 4 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.263e-05/0.8426, allocations: 15.98 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.8432, allocations: 416.5 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.962e-05/0.8433, allocations: 34.56 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.8434, allocations: 16.86 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.8434, allocations: 0 / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.8436, allocations: 103.3 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.8436, allocations: 4 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003/0.8439, allocations: 141.4 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.844, allocations: 55.41 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.8441, allocations: 135.2 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.8441, allocations: 33.69 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.8442, allocations: 104.1 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.8442, allocations: 15.81 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.8443, allocations: 4 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.8444, allocations: 326.8 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.8446, allocations: 91.94 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.8448, allocations: 136.5 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.845, allocations: 169.1 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.845, allocations: 0 / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005637/0.8456, allocations: 370.5 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.277e-05/0.8457, allocations: 93.09 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.8457, allocations: 4.078 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.8457, allocations: 4 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.286e-05/0.8457, allocations: 11.92 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.8457, allocations: 8.172 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.8463, allocations: 116.9 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.8463, allocations: 19.98 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001335/0.8465, allocations: 139.3 kB / 1.028 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.8465, allocations: 7.906 kB / 1.028 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.8465, allocations: 20.31 kB / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.8465, allocations: 0 / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.8465, allocations: 0 / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.8466, allocations: 0 / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.8467, allocations: 201.6 kB / 1.028 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.8467, allocations: 0 / 1.028 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.169e-05/0.8468, allocations: 4 kB / 1.028 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.8468, allocations: 0 / 1.028 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.8468, allocations: 4 kB / 1.028 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.8468, allocations: 3.984 kB / 1.028 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.8468, allocations: 4 kB / 1.028 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.847, allocations: 137.2 kB / 1.028 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.8471, allocations: 85.02 kB / 1.029 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.8471, allocations: 7.984 kB / 1.029 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.096e-05/0.8471, allocations: 0 / 1.029 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.8472, allocations: 7.984 kB / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.8472, allocations: 8 kB / 1.029 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.039e-05/0.8473, allocations: 96.67 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8473, allocations: 4 kB / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002765/0.8475, allocations: 44 kB / 1.029 GB, free: 9.191 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002104/0.8478, allocations: 109 kB / 1.029 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005103/0.8483, allocations: 366.1 kB / 1.029 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8483, allocations: 0 / 1.029 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.261e-05/0.8484, allocations: 40.3 kB / 1.029 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.8486, allocations: 35.84 kB / 1.029 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.8491, allocations: 195.5 kB / 1.029 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.8494, allocations: 0.7004 MB / 1.03 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.577e-05/0.8494, allocations: 12.42 kB / 1.03 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.8495, allocations: 11.44 kB / 1.03 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8495, allocations: 0 / 1.03 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of Templates: time 0.005472/0.855, allocations: 2.396 MB / 1.032 GB, free: 5.277 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches