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.0009487/0.0009487, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.0021, allocations: 435.8 kB / 10.33 MB, free: 368 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.001118/0.001118, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001585/0.002702, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.045/1.045, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.125/1.17, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.688/2.688, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3119/3, allocations: 145.9 MB / 0.817 GB, free: 4.223 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.874e-06/1.874e-06, allocations: 0 / 0.8183 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.511e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001082/0.001097, allocations: 0.657 MB / 0.8189 GB, free: 2.277 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.00225, allocations: 1.162 MB / 0.82 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.002285, allocations: 0 / 0.82 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.246e-05/0.002308, allocations: 3.938 kB / 0.8201 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.427e-05/0.002342, allocations: 11.92 kB / 0.8201 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.002631, allocations: 119.6 kB / 0.8202 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.002779, allocations: 87.84 kB / 0.8203 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.442e-05/0.002864, allocations: 4 kB / 0.8203 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.002964, allocations: 63.88 kB / 0.8203 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.334e-05/0.003057, allocations: 23.97 kB / 0.8203 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.003079, allocations: 8 kB / 0.8204 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.655e-05/0.003166, allocations: 15.98 kB / 0.8204 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.003186, allocations: 7.938 kB / 0.8204 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.003224, allocations: 16 kB / 0.8204 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.00337, allocations: 63.81 kB / 0.8205 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.698e-05/0.003387, allocations: 0 / 0.8205 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003388, allocations: 0 / 0.8205 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.003404, allocations: 3.938 kB / 0.8205 GB, free: 0.6797 MB / 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.000481/0.003885, allocations: 294.2 kB / 0.8207 GB, free: 368 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.003923, allocations: 8.031 kB / 0.8207 GB, free: 360 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.00396, allocations: 12.92 kB / 0.8208 GB, free: 348 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.785e-05/0.004048, allocations: 105.8 kB / 0.8209 GB, free: 216 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.004067, allocations: 4.375 kB / 0.8209 GB, free: 212 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.004081, allocations: 4.375 kB / 0.8209 GB, free: 208 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.428e-05/0.004166, allocations: 50.95 kB / 0.8209 GB, free: 148 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.004172, allocations: 192 / 0.8209 GB, free: 148 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.004181, allocations: 8.312 kB / 0.8209 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.004185, allocations: 384 / 0.8209 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.292e-05/0.004208, allocations: 15.91 kB / 0.8209 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.004455, allocations: 152.3 kB / 0.8211 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.918e-05/0.004505, allocations: 22.61 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.566e-05/0.00452, allocations: 12.92 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-06/0.004527, allocations: 0 / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.979e-05/0.004617, allocations: 67.27 kB / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.004618, allocations: 0 / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001181/0.004736, allocations: 49.62 kB / 0.8212 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.004773, allocations: 55.39 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.029e-05/0.004843, allocations: 106.7 kB / 0.8214 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.004862, allocations: 37.69 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.004902, allocations: 92.08 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.004917, allocations: 11.88 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.004959, allocations: 29.7 kB / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.486e-05/0.005054, allocations: 314.8 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.205e-05/0.005106, allocations: 53.67 kB / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.073e-05/0.005157, allocations: 68.27 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.648e-05/0.005223, allocations: 76.31 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.005226, allocations: 3.938 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001261/0.005352, allocations: 153 kB / 0.8222 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/0.005389, allocations: 33.69 kB / 0.8222 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.005394, allocations: 4 kB / 0.8222 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.005409, allocations: 3.938 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.733e-05/0.005457, allocations: 7.938 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.005461, allocations: 400 / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.005574, allocations: 19.94 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.005588, allocations: 7.984 kB / 0.8223 GB, free: 14.61 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 6.174e-05/0.00565, allocations: 125.9 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-06/0.005656, allocations: 4 kB / 0.8224 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.005676, allocations: 7.984 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.005679, allocations: 3.938 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.005681, allocations: 4 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.005684, allocations: 0 / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.135e-05/0.005745, allocations: 65.91 kB / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.005745, allocations: 0 / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.151e-05/0.005757, allocations: 11.92 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-06/0.005762, allocations: 0 / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.005763, allocations: 4 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-06/0.005766, allocations: 4 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.005766, allocations: 0 / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.005768, allocations: 3.938 kB / 0.8225 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.023e-05/0.005828, allocations: 69.11 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.168e-06/0.005837, allocations: 3.984 kB / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-06/0.005845, allocations: 0 / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.005867, allocations: 4 kB / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.005871, allocations: 7.938 kB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.354e-05/0.005885, allocations: 12.84 kB / 0.8226 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005885, allocations: 0 / 0.8226 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001109/0.005996, allocations: 16 kB / 0.8226 GB, free: 14.22 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 9.639e-05/0.006092, allocations: 92.3 kB / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.006222, allocations: 142.2 kB / 0.8228 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.006227, allocations: 4 kB / 0.8228 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.878e-05/0.006246, allocations: 12.89 kB / 0.8228 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.006348, allocations: 11.98 kB / 0.8228 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.006741, allocations: 128.6 kB / 0.823 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.83e-05/0.006779, allocations: 63.33 kB / 0.823 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.006798, allocations: 11.94 kB / 0.823 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.006866, allocations: 59.36 kB / 0.8231 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.006867, allocations: 4 kB / 0.8231 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of Templates: time 0.002816/0.009683, allocations: 1.33 MB / 0.8244 GB, free: 12.31 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.708035409450531]