Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.001512/0.001512, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001693/0.001693, allocations: 186.9 kB / 22.22 MB, free: 5.164 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.509/1.509, allocations: 225.6 MB / 251 MB, free: 13.02 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.624/2.624, allocations: 443.4 MB / 0.7321 GB, free: 12.27 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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 67.89 kB / 1.061 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.054, allocations: 160.8 MB / 1.218 GB, free: 3.625 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002614/1.056, allocations: 0.6713 MB / 1.219 GB, free: 3.121 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002375/1.059, allocations: 1.196 MB / 1.22 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/1.059, allocations: 4 kB / 1.22 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.584e-05/1.059, allocations: 5.969 kB / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.252e-05/1.059, allocations: 9.547 kB / 1.22 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008331/1.06, allocations: 216.3 kB / 1.221 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003265/1.06, allocations: 165.5 kB / 1.221 GB, free: 1.906 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/1.06, allocations: 11.33 kB / 1.221 GB, free: 1.898 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/1.06, allocations: 76.42 kB / 1.221 GB, free: 1.855 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/1.06, allocations: 68.22 kB / 1.221 GB, free: 1.805 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/1.06, allocations: 14.94 kB / 1.221 GB, free: 1.805 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/1.061, allocations: 34.14 kB / 1.221 GB, free: 1.793 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/1.061, allocations: 6.391 kB / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/1.061, allocations: 58.8 kB / 1.221 GB, free: 1.75 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003305/1.061, allocations: 152.3 kB / 1.221 GB, free: 1.641 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.061, allocations: 0 / 1.221 GB, free: 1.641 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.784e-06/1.061, allocations: 1.156 kB / 1.221 GB, free: 1.641 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.592e-06/1.061, allocations: 0 / 1.221 GB, free: 1.641 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000841/1.062, allocations: 440.9 kB / 1.222 GB, free: 1.18 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/1.062, allocations: 9.406 kB / 1.222 GB, free: 1.18 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.471e-05/1.062, allocations: 11.39 kB / 1.222 GB, free: 1.176 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/1.062, allocations: 171.8 kB / 1.222 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/1.062, allocations: 8.906 kB / 1.222 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/1.062, allocations: 12.8 kB / 1.222 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/1.062, allocations: 43.84 kB / 1.222 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/1.062, allocations: 4.188 kB / 1.222 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/1.062, allocations: 5.031 kB / 1.222 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/1.062, allocations: 1.031 kB / 1.222 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.841e-05/1.063, allocations: 23.45 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007766/1.063, allocations: 354.1 kB / 1.222 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/1.063, allocations: 31.61 kB / 1.222 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.876e-05/1.063, allocations: 17.94 kB / 1.222 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/1.063, allocations: 1.094 kB / 1.222 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002878/1.064, allocations: 83.64 kB / 1.222 GB, free: 428 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.934e-06/1.064, allocations: 0 / 1.222 GB, free: 428 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.000404/1.064, allocations: 104.1 kB / 1.222 GB, free: 364 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/1.064, allocations: 56.44 kB / 1.222 GB, free: 296 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/1.064, allocations: 123 kB / 1.223 GB, free: 176 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.663e-05/1.064, allocations: 29.92 kB / 1.223 GB, free: 144 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/1.065, allocations: 97.3 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/1.065, allocations: 9.938 kB / 1.223 GB, free: 40 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/1.065, allocations: 52.47 kB / 1.223 GB, free: 4 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002469/1.065, allocations: 325 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/1.065, allocations: 57.88 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/1.066, allocations: 104.8 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/1.066, allocations: 159.8 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.066, allocations: 0 / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007733/1.067, allocations: 261.5 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/1.067, allocations: 69.36 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.067, allocations: 0.75 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/1.067, allocations: 2.125 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.53e-05/1.067, allocations: 10.27 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.067, allocations: 2.219 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/1.067, allocations: 55.33 kB / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/1.067, allocations: 9.031 kB / 1.224 GB, free: 15.15 MB / 0.9356 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.0001778/1.068, allocations: 141.7 kB / 1.224 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/1.068, allocations: 11.08 kB / 1.224 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/1.068, allocations: 5.531 kB / 1.224 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/1.068, allocations: 1.594 kB / 1.224 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.068, allocations: 1.062 kB / 1.224 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/1.068, allocations: 0 / 1.224 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/1.068, allocations: 184.4 kB / 1.224 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.068, allocations: 1 kB / 1.224 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/1.068, allocations: 5.031 kB / 1.224 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/1.068, allocations: 1.062 kB / 1.224 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/1.068, allocations: 1.031 kB / 1.224 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.068, allocations: 1.25 kB / 1.224 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.068, allocations: 4.062 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/1.068, allocations: 120.1 kB / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/1.068, allocations: 78.08 kB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/1.068, allocations: 5.984 kB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.926e-05/1.068, allocations: 0 / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/1.068, allocations: 7.203 kB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/1.068, allocations: 10.11 kB / 1.224 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.669e-05/1.069, allocations: 91.25 kB / 1.224 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/1.069, allocations: 0 / 1.224 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004058/1.069, allocations: 31.67 kB / 1.224 GB, free: 14.48 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: 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.000201/1.069, allocations: 105.9 kB / 1.224 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005431/1.07, allocations: 219.7 kB / 1.225 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.07, allocations: 3.938 kB / 1.225 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.214e-05/1.07, allocations: 29.53 kB / 1.225 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/1.07, allocations: 19.95 kB / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005532/1.071, allocations: 149.5 kB / 1.225 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/1.071, allocations: 0.6833 MB / 1.226 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.463e-05/1.071, allocations: 8.297 kB / 1.226 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/1.071, allocations: 15.38 kB / 1.226 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of SimCode: time 4.4e-07/1.071, allocations: 4 kB / 1.226 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of Templates: time 0.008288/1.08, allocations: 1.862 MB / 1.227 GB, free: 12.37 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.282346872612834]