Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.007704/0.007704, allocations: 101.7 kB / 15.88 MB, free: 6.328 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.001711/0.001711, allocations: 193.6 kB / 16.79 MB, free: 6.254 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.404/1.404, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.395/2.395, allocations: 390.2 MB / 0.6649 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6503/0.6516, allocations: 140.4 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001814/0.6534, allocations: 0.7703 MB / 0.9503 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.6548, allocations: 1.295 MB / 0.9516 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.323e-05/0.6548, allocations: 0 / 0.9516 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.6549, allocations: 0 / 0.9516 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.734e-05/0.655, allocations: 18.25 kB / 0.9516 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006932/0.6557, allocations: 292.2 kB / 0.9519 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.6558, allocations: 219.4 kB / 0.9521 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.6559, allocations: 11.19 kB / 0.9521 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.6561, allocations: 91.92 kB / 0.9522 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.942e-05/0.6562, allocations: 79 kB / 0.9523 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.6562, allocations: 12.88 kB / 0.9523 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.97e-05/0.6563, allocations: 26.75 kB / 0.9523 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.6563, allocations: 13.83 kB / 0.9523 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.6564, allocations: 75.48 kB / 0.9524 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.6566, allocations: 156 kB / 0.9526 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6566, allocations: 0 / 0.9526 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6566, allocations: 1.375 kB / 0.9526 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.6566, allocations: 0 / 0.9526 GB, free: 7.004 MB / 0.7169 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.0004938/0.6571, allocations: 0.4898 MB / 0.953 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.6572, allocations: 9.031 kB / 0.953 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.593e-05/0.6572, allocations: 15.02 kB / 0.9531 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.134e-05/0.6573, allocations: 185.2 kB / 0.9532 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.6574, allocations: 10.75 kB / 0.9532 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.026e-05/0.6574, allocations: 12.5 kB / 0.9533 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.6575, allocations: 56.23 kB / 0.9533 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.6576, allocations: 7.922 kB / 0.9533 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.6576, allocations: 1.719 kB / 0.9533 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.6576, allocations: 0 / 0.9533 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.295e-05/0.6576, allocations: 22.88 kB / 0.9533 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.6581, allocations: 423.5 kB / 0.9537 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.727e-05/0.6582, allocations: 30.72 kB / 0.9538 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.261e-05/0.6582, allocations: 16.64 kB / 0.9538 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.6582, allocations: 1.406 kB / 0.9538 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.6584, allocations: 109.3 kB / 0.9539 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.6584, allocations: 0 / 0.9539 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002932/0.6587, allocations: 136.5 kB / 0.954 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.6588, allocations: 53.62 kB / 0.9541 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.741e-05/0.6589, allocations: 139.6 kB / 0.9542 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.6589, allocations: 34.14 kB / 0.9542 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.659, allocations: 100.3 kB / 0.9543 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.659, allocations: 14.62 kB / 0.9544 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.6591, allocations: 67.02 kB / 0.9544 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.108e-05/0.6592, allocations: 329 kB / 0.9547 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.6594, allocations: 85.3 kB / 0.9548 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.6596, allocations: 134.5 kB / 0.9549 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.6598, allocations: 244.2 kB / 0.9552 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6598, allocations: 384 / 0.9552 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005509/0.6604, allocations: 365.3 kB / 0.9555 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.751e-05/0.6605, allocations: 110.4 kB / 0.9556 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.6605, allocations: 2.5 kB / 0.9556 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.6605, allocations: 6.531 kB / 0.9556 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.379e-05/0.6605, allocations: 6.344 kB / 0.9556 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.6605, allocations: 2.469 kB / 0.9556 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.661, allocations: 91.48 kB / 0.9557 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.6611, allocations: 21.11 kB / 0.9558 GB, free: 4.125 MB / 0.7169 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,booPul3.y,$PRE.booPul3.y,or1.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 9.617e-05/0.6612, allocations: 125.6 kB / 0.9559 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.6612, allocations: 7.844 kB / 0.9559 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.6613, allocations: 10.5 kB / 0.9559 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.6613, allocations: 9.047 kB / 0.9559 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6613, allocations: 1.125 kB / 0.9559 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6613, allocations: 0 / 0.9559 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.6614, allocations: 193.2 kB / 0.9561 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.6614, allocations: 0.9688 kB / 0.9561 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.195e-05/0.6614, allocations: 5.797 kB / 0.9561 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6614, allocations: 1.062 kB / 0.9561 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.6614, allocations: 0.9688 kB / 0.9561 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.6614, allocations: 1.188 kB / 0.9561 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.6615, allocations: 0 / 0.9561 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.6616, allocations: 134.8 kB / 0.9562 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.6617, allocations: 91.59 kB / 0.9563 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.6617, allocations: 9.219 kB / 0.9563 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.431e-05/0.6617, allocations: 1.25 kB / 0.9563 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.6618, allocations: 8.953 kB / 0.9563 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.6618, allocations: 11.42 kB / 0.9563 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.902e-05/0.6618, allocations: 96.89 kB / 0.9564 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6618, allocations: 0 / 0.9564 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002669/0.6621, allocations: 46.98 kB / 0.9565 GB, free: 3.441 MB / 0.7169 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 (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.0001605/0.6623, allocations: 111.8 kB / 0.9566 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004271/0.6627, allocations: 375.4 kB / 0.9569 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6627, allocations: 0 / 0.9569 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.503e-05/0.6628, allocations: 41.23 kB / 0.957 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.663, allocations: 19.48 kB / 0.957 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.6634, allocations: 239.7 kB / 0.9572 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.6636, allocations: 0.6921 MB / 0.9579 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.6636, allocations: 16.17 kB / 0.9579 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.6636, allocations: 4 kB / 0.9579 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of Templates: time 0.003415/0.667, allocations: 1.874 MB / 0.9598 GB, free: 1.113 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches