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.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.001152/0.001152, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001875/0.003028, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001063/0.001063, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001428/0.00249, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9401/0.9401, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09236/1.032, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.387/2.387, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2506/2.638, allocations: 146 MB / 0.8176 GB, free: 3.816 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.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 1.963e-06/1.963e-06, allocations: 0 / 0.8189 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.961e-05/5.158e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002037/0.002089, allocations: 0.6633 MB / 0.8195 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.004011, allocations: 1.162 MB / 0.8207 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.004065, allocations: 4 kB / 0.8207 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.004092, allocations: 3.938 kB / 0.8207 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/0.004153, allocations: 7.875 kB / 0.8207 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.0046, allocations: 115.6 kB / 0.8208 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.004794, allocations: 91.83 kB / 0.8209 GB, free: 464 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.954e-05/0.004873, allocations: 4 kB / 0.8209 GB, free: 460 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.005006, allocations: 63.88 kB / 0.821 GB, free: 396 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.005119, allocations: 23.91 kB / 0.821 GB, free: 372 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.005147, allocations: 8 kB / 0.821 GB, free: 364 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.403e-05/0.005241, allocations: 23.98 kB / 0.821 GB, free: 340 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.005266, allocations: 0 / 0.821 GB, free: 340 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.005309, allocations: 20 kB / 0.821 GB, free: 320 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.005489, allocations: 59.83 kB / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.051e-05/0.005509, allocations: 0 / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of FrontEnd: time 3.386e-06/0.005513, allocations: 3.984 kB / 0.8211 GB, free: 256 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.005529, allocations: 0 / 0.8211 GB, free: 256 kB / 0.7917 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.0005346/0.006063, allocations: 286.2 kB / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.006099, allocations: 12.03 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.006145, allocations: 8.922 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.682e-05/0.006242, allocations: 113.7 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.006261, allocations: 384 / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.006282, allocations: 12.38 kB / 0.8215 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.396e-05/0.006366, allocations: 46.95 kB / 0.8215 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.006375, allocations: 192 / 0.8215 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.006381, allocations: 384 / 0.8215 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.006388, allocations: 4.359 kB / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.206e-05/0.00641, allocations: 11.92 kB / 0.8216 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.006677, allocations: 160.3 kB / 0.8217 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.693e-05/0.006734, allocations: 26.61 kB / 0.8217 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.303e-05/0.006747, allocations: 8.859 kB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.932e-06/0.006753, allocations: 3.938 kB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/0.006865, allocations: 59.34 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.006866, allocations: 0 / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001376/0.007004, allocations: 61.55 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.007039, allocations: 55.41 kB / 0.8219 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.582e-05/0.007115, allocations: 118.7 kB / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.007135, allocations: 29.7 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.007328, allocations: 84.14 kB / 0.8221 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.007349, allocations: 11.89 kB / 0.8222 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.007408, allocations: 29.69 kB / 0.8222 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.007506, allocations: 322.8 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-05/0.007573, allocations: 49.69 kB / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.31e-05/0.007636, allocations: 64.27 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.702e-05/0.007723, allocations: 80.19 kB / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.007725, allocations: 0 / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001715/0.007897, allocations: 153.1 kB / 0.8228 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.777e-05/0.007945, allocations: 38.94 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.00795, allocations: 0 / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.007966, allocations: 3.938 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.246e-05/0.008018, allocations: 8 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.008022, allocations: 0 / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.008163, allocations: 27.92 kB / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.008179, allocations: 4 kB / 0.8229 GB, free: 14.17 MB / 0.8073 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 7.749e-05/0.008256, allocations: 117.8 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.008267, allocations: 0 / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.008296, allocations: 15.98 kB / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.0083, allocations: 3.938 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.008302, allocations: 0 / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.008305, allocations: 0 / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.155e-05/0.008387, allocations: 69.89 kB / 0.8231 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.008389, allocations: 0 / 0.8231 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.008411, allocations: 3.984 kB / 0.8231 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.00842, allocations: 4 kB / 0.8231 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.008423, allocations: 0 / 0.8231 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.008428, allocations: 4 kB / 0.8231 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.00843, allocations: 3.938 kB / 0.8231 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.008433, allocations: 3.938 kB / 0.8231 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.276e-05/0.008526, allocations: 77.05 kB / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.008536, allocations: 0 / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.823e-05/0.008554, allocations: 4 kB / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.008575, allocations: 0 / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.008581, allocations: 4.219 kB / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.043e-05/0.008601, allocations: 16.83 kB / 0.8232 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.008601, allocations: 0 / 0.8232 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001869/0.008788, allocations: 16 kB / 0.8232 GB, free: 13.78 MB / 0.8073 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.0001497/0.008938, allocations: 96.34 kB / 0.8233 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.009109, allocations: 133.9 kB / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/0.009113, allocations: 0 / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.792e-05/0.009151, allocations: 16.8 kB / 0.8235 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.0093, allocations: 71.33 kB / 0.8235 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.0098, allocations: 124.6 kB / 0.8237 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.616e-05/0.009836, allocations: 63.39 kB / 0.8237 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.505e-05/0.009861, allocations: 8 kB / 0.8237 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.569e-05/0.009947, allocations: 67.36 kB / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of SimCode: time 8.22e-07/0.009947, allocations: 0 / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of Templates: time 0.003561/0.01351, allocations: 1.304 MB / 0.8251 GB, free: 11.84 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.040271003730595]