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.001007/0.001008, allocations: 97.78 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.001278/0.001278, allocations: 187.3 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.461/1.461, allocations: 223.3 MB / 241 MB, free: 5.336 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.525/2.525, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003678, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7242/0.7246, allocations: 142.4 MB / 0.9557 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.0009647/0.7256, allocations: 431.3 kB / 0.9561 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.7276, allocations: 1.287 MB / 0.9574 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.7277, allocations: 0.9375 kB / 0.9574 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.08e-05/0.7278, allocations: 3.938 kB / 0.9574 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.787e-05/0.7279, allocations: 18.03 kB / 0.9574 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.7289, allocations: 290.5 kB / 0.9577 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.7292, allocations: 227.5 kB / 0.9579 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.7294, allocations: 18.7 kB / 0.9579 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.7296, allocations: 87.3 kB / 0.958 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.7298, allocations: 71.23 kB / 0.9581 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.797e-05/0.7299, allocations: 11.69 kB / 0.9581 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.73, allocations: 26.58 kB / 0.9581 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.7301, allocations: 13.67 kB / 0.9581 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.7302, allocations: 96.41 kB / 0.9582 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.7304, allocations: 151.9 kB / 0.9584 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.7305, allocations: 1.375 kB / 0.9584 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7305, allocations: 4 kB / 0.9584 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.7305, allocations: 0 / 0.9584 GB, free: 5.859 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.0005149/0.731, allocations: 460.1 kB / 0.9588 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.7311, allocations: 9.156 kB / 0.9588 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.7312, allocations: 15.16 kB / 0.9588 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.7313, allocations: 176.3 kB / 0.959 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.7313, allocations: 11.2 kB / 0.959 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-05/0.7314, allocations: 12.69 kB / 0.959 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.7316, allocations: 55.61 kB / 0.9591 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.7316, allocations: 8.594 kB / 0.9591 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.7316, allocations: 8.984 kB / 0.9591 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.7316, allocations: 1.312 kB / 0.9591 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.275e-05/0.7317, allocations: 18.34 kB / 0.9591 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006359/0.7324, allocations: 418 kB / 0.9595 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.559e-05/0.7325, allocations: 37.22 kB / 0.9595 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.7325, allocations: 20.05 kB / 0.9596 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.7325, allocations: 0 / 0.9596 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.7328, allocations: 106.2 kB / 0.9597 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 2.194e-06/0.7328, allocations: 0 / 0.9597 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003879/0.7332, allocations: 136.9 kB / 0.9598 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.7332, allocations: 54.16 kB / 0.9599 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.7333, allocations: 141.2 kB / 0.96 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.7334, allocations: 36.58 kB / 0.96 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.801e-05/0.7335, allocations: 99.06 kB / 0.9601 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.7335, allocations: 18.47 kB / 0.9601 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.968e-05/0.7336, allocations: 34.08 kB / 0.9602 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.345e-05/0.7337, allocations: 324.1 kB / 0.9605 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.734, allocations: 86.7 kB / 0.9606 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.7343, allocations: 142 kB / 0.9607 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.7346, allocations: 227.8 kB / 0.9609 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.7346, allocations: 0 / 0.9609 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008497/0.7355, allocations: 377.3 kB / 0.9613 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.631e-05/0.7356, allocations: 97.59 kB / 0.9614 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.7356, allocations: 6.062 kB / 0.9614 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.7356, allocations: 2.625 kB / 0.9614 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.289e-05/0.7357, allocations: 6.609 kB / 0.9614 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.7357, allocations: 2.75 kB / 0.9614 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007973/0.7365, allocations: 115.8 kB / 0.9615 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.489e-05/0.7366, allocations: 18.27 kB / 0.9615 GB, free: 3.027 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 0.0001268/0.7367, allocations: 137.3 kB / 0.9616 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.7367, allocations: 7.031 kB / 0.9616 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.7368, allocations: 14.47 kB / 0.9617 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.7368, allocations: 2.031 kB / 0.9617 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7368, allocations: 3.984 kB / 0.9617 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.7368, allocations: 0.9375 kB / 0.9617 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.737, allocations: 193.6 kB / 0.9618 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.737, allocations: 7.875 kB / 0.9619 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/0.737, allocations: 5.906 kB / 0.9619 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.737, allocations: 1.094 kB / 0.9619 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.7371, allocations: 1.156 kB / 0.9619 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.7371, allocations: 4.797 kB / 0.9619 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.7371, allocations: 4.969 kB / 0.9619 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.7373, allocations: 135 kB / 0.962 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/0.7373, allocations: 83.33 kB / 0.9621 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.7374, allocations: 4.828 kB / 0.9621 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.59e-05/0.7374, allocations: 4.938 kB / 0.9621 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.7375, allocations: 8.703 kB / 0.9621 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.7375, allocations: 3.406 kB / 0.9621 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.467e-05/0.7375, allocations: 104.9 kB / 0.9622 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7376, allocations: 1.031 kB / 0.9622 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003828/0.7379, allocations: 42.22 kB / 0.9622 GB, free: 2.328 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.0001537/0.7381, allocations: 112.1 kB / 0.9624 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005606/0.7387, allocations: 362.9 kB / 0.9627 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.7387, allocations: 0 / 0.9627 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.093e-05/0.7388, allocations: 45.98 kB / 0.9627 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.7391, allocations: 22.98 kB / 0.9628 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.7396, allocations: 233.5 kB / 0.963 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.7397, allocations: 0.7004 MB / 0.9637 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.7398, allocations: 12.44 kB / 0.9637 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.7398, allocations: 3.938 kB / 0.9637 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of Templates: time 0.004808/0.7446, allocations: 1.861 MB / 0.9655 GB, free: 20 kB / 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