Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.929/1.929, allocations: 306.1 MB / 321.4 MB, free: 10.7 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 183.4 kB / 393.1 MB, free: 4.062 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.656/1.656, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008302/0.0008302, allocations: 86.05 kB / 0.7935 GB, free: 39.99 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004112, allocations: 15.03 kB / 0.9224 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7319/0.7323, allocations: 121.3 MB / 1.041 GB, free: 58.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.0009801/0.7334, allocations: 432.5 kB / 1.041 GB, free: 58.17 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.735, allocations: 1.58 MB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.7351, allocations: 0.8438 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.7351, allocations: 3.562 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.134e-05/0.7352, allocations: 16.45 kB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007835/0.736, allocations: 293 kB / 1.043 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.7362, allocations: 227.5 kB / 1.043 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.7363, allocations: 14.16 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.7364, allocations: 87.5 kB / 1.043 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.7365, allocations: 67.64 kB / 1.044 GB, free: 56.58 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.7366, allocations: 12.28 kB / 1.044 GB, free: 56.58 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.322e-05/0.7367, allocations: 33.03 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.7367, allocations: 13.31 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.7368, allocations: 99.14 kB / 1.044 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.7371, allocations: 203.5 kB / 1.044 GB, free: 56.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7371, allocations: 4 kB / 1.044 GB, free: 56.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7371, allocations: 2.281 kB / 1.044 GB, free: 56.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.7372, allocations: 0 / 1.044 GB, free: 56.45 MB / 0.698 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.0004377/0.7376, allocations: 453 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.7377, allocations: 9.25 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.7377, allocations: 20.05 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.752e-05/0.7378, allocations: 180.4 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.7379, allocations: 8.906 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.7379, allocations: 14.38 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.738, allocations: 59.19 kB / 1.045 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7381, allocations: 3.938 kB / 1.045 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.7381, allocations: 1.094 kB / 1.045 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.7381, allocations: 0 / 1.045 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.287e-05/0.7382, allocations: 25.2 kB / 1.045 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.7387, allocations: 420 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.923e-05/0.7387, allocations: 31.84 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.062e-05/0.7388, allocations: 19.58 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.7388, allocations: 4.875 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.739, allocations: 101.4 kB / 1.045 GB, free: 55.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.739, allocations: 0.7812 kB / 1.045 GB, free: 55.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0002753/0.7393, allocations: 136.3 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.7393, allocations: 54.66 kB / 1.045 GB, free: 55.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.663e-05/0.7394, allocations: 141.2 kB / 1.045 GB, free: 55.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.7395, allocations: 39.8 kB / 1.046 GB, free: 55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.7395, allocations: 92.89 kB / 1.046 GB, free: 54.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.7396, allocations: 25.12 kB / 1.046 GB, free: 54.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.7396, allocations: 8.406 kB / 1.046 GB, free: 54.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.583e-05/0.7397, allocations: 323.6 kB / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.7399, allocations: 88.5 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.7401, allocations: 134.2 kB / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.7404, allocations: 231.2 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.7404, allocations: 3.688 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005255/0.7409, allocations: 368.5 kB / 1.047 GB, free: 54.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.741, allocations: 103.6 kB / 1.047 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.741, allocations: 0.5312 kB / 1.047 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.741, allocations: 5.422 kB / 1.047 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.611e-05/0.7411, allocations: 9.281 kB / 1.047 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.7411, allocations: 5.688 kB / 1.047 GB, free: 53.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.7416, allocations: 116.1 kB / 1.047 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.7417, allocations: 20.39 kB / 1.047 GB, free: 53.93 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.7418, allocations: 130.5 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.7418, allocations: 7.469 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.7418, allocations: 10.58 kB / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.7419, allocations: 10.31 kB / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.7419, allocations: 3.938 kB / 1.047 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7419, allocations: 384 / 1.047 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.742, allocations: 197.8 kB / 1.047 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.742, allocations: 0 / 1.047 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/0.742, allocations: 5.812 kB / 1.047 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.7421, allocations: 4.781 kB / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.7421, allocations: 3.016 kB / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7421, allocations: 1 kB / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.7421, allocations: 0 / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.7422, allocations: 143.7 kB / 1.047 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.7423, allocations: 82.77 kB / 1.048 GB, free: 53.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.7423, allocations: 1.5 kB / 1.048 GB, free: 53.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.46e-05/0.7423, allocations: 7.906 kB / 1.048 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.7424, allocations: 6.219 kB / 1.048 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.7424, allocations: 7.141 kB / 1.048 GB, free: 53.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.812e-05/0.7424, allocations: 102.9 kB / 1.048 GB, free: 53.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7425, allocations: 0 / 1.048 GB, free: 53.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002515/0.7427, allocations: 50.88 kB / 1.048 GB, free: 53.27 MB / 0.698 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.0001561/0.7429, allocations: 111.3 kB / 1.048 GB, free: 53.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004431/0.7433, allocations: 367.4 kB / 1.048 GB, free: 52.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.7433, allocations: 0 / 1.048 GB, free: 52.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.546e-05/0.7434, allocations: 40.73 kB / 1.048 GB, free: 52.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.7437, allocations: 29.55 kB / 1.048 GB, free: 52.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.7441, allocations: 207.5 kB / 1.048 GB, free: 52.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.7443, allocations: 0.6969 MB / 1.049 GB, free: 52.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.282e-05/0.7443, allocations: 10.25 kB / 1.049 GB, free: 52.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.7443, allocations: 11.41 kB / 1.049 GB, free: 52.02 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/0.7443, allocations: 0 / 1.049 GB, free: 52.02 MB / 0.698 GB Notification: Performance of Templates: time 0.005326/0.7497, allocations: 2.501 MB / 1.052 GB, free: 51.79 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)