Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 87.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002093/0.002093, allocations: 161.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.631/1.631, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.149/3.149, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 3.938 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.185e-05/3.424e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002114/0.002148, allocations: 0.661 MB / 0.8115 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002118/0.004266, allocations: 1.216 MB / 0.8127 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.507e-05/0.004321, allocations: 0 / 0.8127 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.004349, allocations: 5.125 kB / 0.8127 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.004452, allocations: 15.86 kB / 0.8127 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007809/0.005233, allocations: 213.5 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.00555, allocations: 163.7 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.005654, allocations: 13.36 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.005873, allocations: 95.86 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.006047, allocations: 51.84 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.301e-05/0.00612, allocations: 17.44 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.662e-05/0.006217, allocations: 24 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.006252, allocations: 15.91 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.006357, allocations: 47.97 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.006699, allocations: 188 kB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.006702, allocations: 0 / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.472e-06/0.006704, allocations: 1.344 kB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.00671, allocations: 0 / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007254/0.007435, allocations: 459.6 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.007476, allocations: 9.969 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.853e-05/0.007565, allocations: 16.88 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.007703, allocations: 116.6 kB / 0.814 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.007727, allocations: 8.375 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.007759, allocations: 8.375 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.007883, allocations: 52.2 kB / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.007892, allocations: 192 / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.007907, allocations: 8.375 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.007912, allocations: 384 / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.806e-05/0.00796, allocations: 15.92 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.008569, allocations: 335.7 kB / 0.8145 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.008677, allocations: 43.55 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.807e-05/0.008715, allocations: 20.22 kB / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.008726, allocations: 0.7188 kB / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.008892, allocations: 89.05 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.008893, allocations: 0.5312 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0003234/0.009216, allocations: 111.1 kB / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.009269, allocations: 59.34 kB / 0.8148 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.009443, allocations: 181.9 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.009486, allocations: 37.69 kB / 0.815 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.009598, allocations: 135.4 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.00962, allocations: 21.17 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.009739, allocations: 59.34 kB / 0.8152 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002792/0.01002, allocations: 0.4923 MB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.01024, allocations: 135.4 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.01049, allocations: 189.2 kB / 0.816 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.01075, allocations: 178.6 kB / 0.8161 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01075, allocations: 0.7812 kB / 0.8161 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007429/0.0115, allocations: 369.3 kB / 0.8165 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.455e-05/0.01157, allocations: 67.39 kB / 0.8166 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.01158, allocations: 4.844 kB / 0.8166 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.0116, allocations: 0 / 0.8166 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.445e-05/0.01162, allocations: 5.406 kB / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.01163, allocations: 320 / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.01195, allocations: 37.08 kB / 0.8166 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.01199, allocations: 16 kB / 0.8166 GB, free: 11.84 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001666/0.01215, allocations: 174.4 kB / 0.8168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.01218, allocations: 11.89 kB / 0.8168 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.01221, allocations: 12.44 kB / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01222, allocations: 0 / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.01222, allocations: 4.062 kB / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01223, allocations: 2.406 kB / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.01238, allocations: 132.6 kB / 0.8169 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01238, allocations: 0 / 0.8169 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.958e-06/0.01239, allocations: 0 / 0.8169 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.0124, allocations: 4 kB / 0.8169 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.01241, allocations: 3.938 kB / 0.8169 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01241, allocations: 0 / 0.8169 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01241, allocations: 0.5312 kB / 0.8169 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.01263, allocations: 137.8 kB / 0.8171 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.01265, allocations: 11.89 kB / 0.8171 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.01267, allocations: 3.938 kB / 0.8171 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.242e-05/0.01269, allocations: 3.984 kB / 0.8171 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.01275, allocations: 12.56 kB / 0.8171 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.01276, allocations: 7.984 kB / 0.8171 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000101/0.01286, allocations: 132.5 kB / 0.8172 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01286, allocations: 0 / 0.8172 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002424/0.0131, allocations: 28 kB / 0.8173 GB, free: 11.11 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001945/0.0133, allocations: 104 kB / 0.8174 GB, free: 11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004971/0.01379, allocations: 331.1 kB / 0.8177 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.0138, allocations: 4 kB / 0.8177 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.556e-05/0.01386, allocations: 38.83 kB / 0.8177 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.01412, allocations: 15.39 kB / 0.8177 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.01456, allocations: 174.7 kB / 0.8179 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.563e-05/0.01464, allocations: 67.34 kB / 0.818 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.294e-05/0.01468, allocations: 10.39 kB / 0.818 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.01471, allocations: 12.5 kB / 0.818 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of SimCode: time 8.41e-07/0.01471, allocations: 0 / 0.818 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of Templates: time 0.008443/0.02316, allocations: 2.052 MB / 0.82 GB, free: 8.293 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.328945070970803]