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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 185.1 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 251 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.75/2.75, allocations: 443.5 MB / 0.7322 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.89 kB / 1.061 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 160.8 MB / 1.218 GB, free: 3.773 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001921/1.008, allocations: 0.7151 MB / 1.219 GB, free: 3.234 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001652/1.01, allocations: 1.273 MB / 1.22 GB, free: 2.207 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/1.01, allocations: 5.156 kB / 1.22 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/1.01, allocations: 3.938 kB / 1.22 GB, free: 2.199 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.318e-05/1.01, allocations: 23.75 kB / 1.22 GB, free: 2.18 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008405/1.011, allocations: 313.5 kB / 1.221 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000312/1.011, allocations: 258.7 kB / 1.221 GB, free: 1.828 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/1.011, allocations: 12.7 kB / 1.221 GB, free: 1.816 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/1.012, allocations: 100.2 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/1.012, allocations: 96.2 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.168e-05/1.012, allocations: 22.12 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-05/1.012, allocations: 37.33 kB / 1.221 GB, free: 1.688 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.695e-05/1.012, allocations: 13.06 kB / 1.221 GB, free: 1.68 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/1.012, allocations: 87.08 kB / 1.221 GB, free: 1.621 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/1.012, allocations: 227.8 kB / 1.222 GB, free: 1.453 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/1.012, allocations: 0 / 1.222 GB, free: 1.453 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.262e-06/1.012, allocations: 7.938 kB / 1.222 GB, free: 1.445 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.65e-06/1.012, allocations: 0 / 1.222 GB, free: 1.445 MB / 0.92 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.0006674/1.013, allocations: 499.7 kB / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/1.013, allocations: 9.875 kB / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.459e-05/1.013, allocations: 23.12 kB / 1.222 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/1.013, allocations: 175.8 kB / 1.222 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/1.013, allocations: 11.02 kB / 1.222 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/1.013, allocations: 18.09 kB / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/1.013, allocations: 54.92 kB / 1.222 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.014, allocations: 8.938 kB / 1.222 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/1.014, allocations: 5.031 kB / 1.222 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/1.014, allocations: 0 / 1.222 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.895e-05/1.014, allocations: 19.05 kB / 1.222 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/1.014, allocations: 410.9 kB / 1.223 GB, free: 252 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.236e-05/1.014, allocations: 25.98 kB / 1.223 GB, free: 224 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.019e-05/1.014, allocations: 27.22 kB / 1.223 GB, free: 200 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/1.014, allocations: 4.938 kB / 1.223 GB, free: 196 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/1.014, allocations: 98.11 kB / 1.223 GB, free: 116 kB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/1.014, allocations: 0 / 1.223 GB, free: 116 kB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.000292/1.015, allocations: 136.7 kB / 1.223 GB, free: 40 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/1.015, allocations: 57.31 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/1.015, allocations: 135.8 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/1.015, allocations: 35.08 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/1.015, allocations: 99.48 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/1.015, allocations: 27.31 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/1.015, allocations: 66.67 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.015, allocations: 328.9 kB / 1.224 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/1.016, allocations: 90.7 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/1.016, allocations: 137.2 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/1.016, allocations: 223.6 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.016, allocations: 4.875 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005816/1.017, allocations: 385.4 kB / 1.225 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.185e-05/1.017, allocations: 99.94 kB / 1.225 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/1.017, allocations: 2.188 kB / 1.225 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/1.017, allocations: 2.188 kB / 1.225 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.22e-05/1.017, allocations: 3.281 kB / 1.225 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/1.017, allocations: 6.172 kB / 1.225 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/1.017, allocations: 83.39 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/1.017, allocations: 17.08 kB / 1.225 GB, free: 14.58 MB / 0.9356 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.0001364/1.017, allocations: 149.3 kB / 1.225 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/1.017, allocations: 16.45 kB / 1.225 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/1.017, allocations: 13.28 kB / 1.225 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/1.017, allocations: 6.203 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.017, allocations: 0 / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.017, allocations: 0 / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/1.018, allocations: 186.4 kB / 1.225 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/1.018, allocations: 0 / 1.225 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.545e-05/1.018, allocations: 10.14 kB / 1.225 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/1.018, allocations: 1.125 kB / 1.225 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/1.018, allocations: 1.062 kB / 1.225 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.018, allocations: 1.219 kB / 1.225 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.018, allocations: 3.938 kB / 1.225 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/1.018, allocations: 134.9 kB / 1.225 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/1.018, allocations: 87.23 kB / 1.225 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/1.018, allocations: 6.031 kB / 1.225 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.553e-05/1.018, allocations: 5.219 kB / 1.225 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/1.018, allocations: 6.859 kB / 1.225 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/1.018, allocations: 8.312 kB / 1.225 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.033e-05/1.018, allocations: 96.83 kB / 1.225 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/1.018, allocations: 5.094 kB / 1.225 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000259/1.018, allocations: 50.81 kB / 1.226 GB, free: 13.87 MB / 0.9356 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.0001361/1.018, allocations: 100.2 kB / 1.226 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004548/1.019, allocations: 332.5 kB / 1.226 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/1.019, allocations: 96 / 1.226 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.076e-05/1.019, allocations: 35.81 kB / 1.226 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/1.019, allocations: 27.94 kB / 1.226 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/1.02, allocations: 186.9 kB / 1.226 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/1.02, allocations: 0.6956 MB / 1.227 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.329e-05/1.02, allocations: 15.28 kB / 1.227 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/1.02, allocations: 15.91 kB / 1.227 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/1.02, allocations: 0 / 1.227 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of Templates: time 0.005874/1.026, allocations: 2.66 MB / 1.229 GB, free: 11.23 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.246257963590324]