Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.001903/0.001903, allocations: 114.2 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.002326/0.002326, allocations: 188.9 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.808/1.808, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.482/3.482, allocations: 0.4893 GB / 0.7884 GB, free: 33.19 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 61.88 kB / 1.145 GB, free: 30.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4656/0.4676, allocations: 174.9 MB / 1.316 GB, free: 9.77 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002386/0.47, allocations: 0.6176 MB / 1.317 GB, free: 9.152 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.4718, allocations: 1.124 MB / 1.318 GB, free: 8.016 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.4719, allocations: 0 / 1.318 GB, free: 8.016 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/0.4719, allocations: 3.938 kB / 1.318 GB, free: 8.012 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.697e-05/0.472, allocations: 11.92 kB / 1.318 GB, free: 8 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006945/0.4727, allocations: 122.1 kB / 1.318 GB, free: 7.883 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.4729, allocations: 87.81 kB / 1.318 GB, free: 7.797 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.473, allocations: 15.94 kB / 1.318 GB, free: 7.781 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.4731, allocations: 27.98 kB / 1.318 GB, free: 7.754 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.4733, allocations: 39.88 kB / 1.318 GB, free: 7.715 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.4733, allocations: 8 kB / 1.318 GB, free: 7.707 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.873e-05/0.4734, allocations: 23.98 kB / 1.318 GB, free: 7.684 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.4734, allocations: 0 / 1.318 GB, free: 7.684 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.853e-05/0.4735, allocations: 31.92 kB / 1.318 GB, free: 7.652 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.4738, allocations: 91.72 kB / 1.318 GB, free: 7.562 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4738, allocations: 0 / 1.318 GB, free: 7.562 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.876e-06/0.4738, allocations: 3.938 kB / 1.318 GB, free: 7.559 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.4738, allocations: 3.938 kB / 1.318 GB, free: 7.555 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006376/0.4744, allocations: 304 kB / 1.318 GB, free: 7.219 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/0.4745, allocations: 8.031 kB / 1.318 GB, free: 7.211 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.107e-05/0.4745, allocations: 4.938 kB / 1.318 GB, free: 7.207 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.4747, allocations: 122.4 kB / 1.319 GB, free: 7.062 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.4747, allocations: 4.375 kB / 1.319 GB, free: 7.059 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.4748, allocations: 4.375 kB / 1.319 GB, free: 7.055 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.4749, allocations: 42.25 kB / 1.319 GB, free: 7.008 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.4749, allocations: 4.188 kB / 1.319 GB, free: 7.004 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.4749, allocations: 7.938 kB / 1.319 GB, free: 6.996 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.4749, allocations: 0 / 1.319 GB, free: 6.996 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.021e-05/0.475, allocations: 8 kB / 1.319 GB, free: 6.988 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.4755, allocations: 263.9 kB / 1.319 GB, free: 6.688 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.715e-05/0.4756, allocations: 26.58 kB / 1.319 GB, free: 6.652 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.4757, allocations: 8.859 kB / 1.319 GB, free: 6.641 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.4757, allocations: 3.984 kB / 1.319 GB, free: 6.637 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.4758, allocations: 67.39 kB / 1.319 GB, free: 6.559 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.4758, allocations: 3.938 kB / 1.319 GB, free: 6.555 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002631/0.4761, allocations: 73.62 kB / 1.319 GB, free: 6.477 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.4762, allocations: 51.41 kB / 1.319 GB, free: 6.414 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.4763, allocations: 105.8 kB / 1.319 GB, free: 6.301 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.4763, allocations: 33.7 kB / 1.319 GB, free: 6.262 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.885e-05/0.4764, allocations: 88.08 kB / 1.319 GB, free: 6.172 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.4764, allocations: 11.95 kB / 1.319 GB, free: 6.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.254e-05/0.4765, allocations: 29.7 kB / 1.319 GB, free: 6.125 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.4767, allocations: 314.8 kB / 1.32 GB, free: 5.809 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.261e-05/0.4768, allocations: 31.98 kB / 1.32 GB, free: 5.777 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.505e-05/0.4769, allocations: 50.56 kB / 1.32 GB, free: 5.719 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.4771, allocations: 84.2 kB / 1.32 GB, free: 5.621 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.4771, allocations: 7.938 kB / 1.32 GB, free: 5.613 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003246/0.4774, allocations: 151.2 kB / 1.32 GB, free: 5.453 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.287e-05/0.4774, allocations: 37.69 kB / 1.32 GB, free: 5.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.4775, allocations: 0 / 1.32 GB, free: 5.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.4775, allocations: 4 kB / 1.32 GB, free: 5.406 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-05/0.4776, allocations: 3.938 kB / 1.32 GB, free: 5.402 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.4776, allocations: 7.938 kB / 1.32 GB, free: 5.395 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.4778, allocations: 32.03 kB / 1.32 GB, free: 5.363 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.4778, allocations: 4 kB / 1.32 GB, free: 5.359 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001341/0.478, allocations: 122.6 kB / 1.32 GB, free: 5.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.478, allocations: 7.953 kB / 1.32 GB, free: 5.223 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.478, allocations: 4 kB / 1.32 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.478, allocations: 0 / 1.32 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.478, allocations: 0 / 1.32 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4781, allocations: 0 / 1.32 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.4782, allocations: 152.6 kB / 1.32 GB, free: 5.016 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.4782, allocations: 4.062 kB / 1.32 GB, free: 5.012 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.4783, allocations: 4 kB / 1.32 GB, free: 5.008 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.4783, allocations: 0 / 1.32 GB, free: 5.008 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.4783, allocations: 0 / 1.32 GB, free: 5.008 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4783, allocations: 0 / 1.32 GB, free: 5.008 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4783, allocations: 0 / 1.32 GB, free: 5.008 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.4784, allocations: 92.98 kB / 1.32 GB, free: 4.898 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.4784, allocations: 3.953 kB / 1.32 GB, free: 4.895 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.4785, allocations: 4 kB / 1.32 GB, free: 4.891 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.417e-05/0.4785, allocations: 0 / 1.32 GB, free: 4.891 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.4785, allocations: 11.98 kB / 1.32 GB, free: 4.879 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.4785, allocations: 0 / 1.32 GB, free: 4.879 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.357e-05/0.4786, allocations: 87.66 kB / 1.321 GB, free: 4.793 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4786, allocations: 0 / 1.321 GB, free: 4.793 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002617/0.4789, allocations: 16 kB / 1.321 GB, free: 4.777 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002408/0.4791, allocations: 103.8 kB / 1.321 GB, free: 4.668 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002611/0.4794, allocations: 115.3 kB / 1.321 GB, free: 4.543 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4794, allocations: 0 / 1.321 GB, free: 4.543 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.429e-05/0.4794, allocations: 12 kB / 1.321 GB, free: 4.531 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.4797, allocations: 17.58 kB / 1.321 GB, free: 4.516 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.4801, allocations: 122.6 kB / 1.321 GB, free: 4.371 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.4805, allocations: 0.6836 MB / 1.322 GB, free: 3.664 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.4805, allocations: 12.11 kB / 1.322 GB, free: 3.652 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.4806, allocations: 7.438 kB / 1.322 GB, free: 3.645 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.4806, allocations: 3.938 kB / 1.322 GB, free: 3.641 MB / 1.014 GB Notification: Performance of Templates: time 0.004622/0.4852, allocations: 1.096 MB / 1.323 GB, free: 2.562 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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: 10.189645084552467]