Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001136/0.001136, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001616/0.002751, allocations: 449.8 kB / 10.44 MB, free: 252 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.001088/0.001088, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001547/0.002635, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.007/1.007, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1022/1.109, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.93/1.93, allocations: 378.3 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5729/2.503, allocations: 123.3 MB / 0.7283 GB, free: 5.719 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.7296 GB, free: 4.434 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.736e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001797/0.001814, allocations: 0.6679 MB / 0.7303 GB, free: 3.793 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.003344, allocations: 1.162 MB / 0.7314 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.003386, allocations: 0 / 0.7314 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.003411, allocations: 3.938 kB / 0.7314 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.272e-05/0.003454, allocations: 1.969 kB / 0.7314 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.003823, allocations: 123 kB / 0.7315 GB, free: 2.504 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000195/0.004018, allocations: 99.16 kB / 0.7316 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.669e-05/0.004094, allocations: 4 kB / 0.7316 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.004216, allocations: 50.16 kB / 0.7317 GB, free: 2.363 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.004324, allocations: 29.92 kB / 0.7317 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.004351, allocations: 8 kB / 0.7317 GB, free: 2.328 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.004452, allocations: 21.36 kB / 0.7317 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.792e-05/0.00448, allocations: 10.39 kB / 0.7317 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.004528, allocations: 17.53 kB / 0.7318 GB, free: 2.285 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.004692, allocations: 54.19 kB / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.27e-05/0.004705, allocations: 0 / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.11e-07/0.004705, allocations: 0.625 kB / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.74e-05/0.004723, allocations: 0 / 0.7318 GB, free: 2.234 MB / 0.698 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.0005629/0.005285, allocations: 295.2 kB / 0.7321 GB, free: 1.914 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.005326, allocations: 8.797 kB / 0.7321 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.005372, allocations: 5.594 kB / 0.7321 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.005486, allocations: 113.8 kB / 0.7322 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.005509, allocations: 5.156 kB / 0.7322 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.005533, allocations: 4.375 kB / 0.7322 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.803e-05/0.005631, allocations: 59.5 kB / 0.7323 GB, free: 1.691 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.005639, allocations: 192 / 0.7323 GB, free: 1.691 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.005648, allocations: 2.266 kB / 0.7323 GB, free: 1.691 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.005654, allocations: 384 / 0.7323 GB, free: 1.691 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.351e-05/0.005678, allocations: 8.656 kB / 0.7323 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.005972, allocations: 160.2 kB / 0.7324 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.044e-05/0.006032, allocations: 23.95 kB / 0.7325 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.882e-05/0.006051, allocations: 8.859 kB / 0.7325 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.006063, allocations: 12.03 kB / 0.7325 GB, free: 1.457 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/0.006172, allocations: 51.92 kB / 0.7325 GB, free: 1.395 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.006173, allocations: 1.656 kB / 0.7325 GB, free: 1.395 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001456/0.006319, allocations: 54.28 kB / 0.7326 GB, free: 1.336 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.006364, allocations: 51.41 kB / 0.7326 GB, free: 1.273 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.006454, allocations: 118.6 kB / 0.7328 GB, free: 1.145 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.006479, allocations: 33.7 kB / 0.7328 GB, free: 1.105 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.006531, allocations: 89 kB / 0.7329 GB, free: 1.016 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.00655, allocations: 8.656 kB / 0.7329 GB, free: 1.008 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.006612, allocations: 30.19 kB / 0.7329 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.006722, allocations: 320.4 kB / 0.7332 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.525e-05/0.006787, allocations: 45.69 kB / 0.7333 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-05/0.00686, allocations: 80.25 kB / 0.7333 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.595e-05/0.006946, allocations: 73.03 kB / 0.7334 GB, free: 432 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.006949, allocations: 0 / 0.7334 GB, free: 432 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001809/0.00713, allocations: 151.2 kB / 0.7335 GB, free: 264 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.95e-05/0.007179, allocations: 37.69 kB / 0.7336 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.007186, allocations: 1.75 kB / 0.7336 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.007202, allocations: 7.938 kB / 0.7336 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.131e-05/0.007254, allocations: 0 / 0.7336 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.007259, allocations: 4 kB / 0.7336 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.007399, allocations: 21.16 kB / 0.7336 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.007418, allocations: 11.98 kB / 0.7336 GB, free: 176 kB / 0.698 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.562e-05/0.007494, allocations: 110.5 kB / 0.7337 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.007504, allocations: 4.656 kB / 0.7337 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.007532, allocations: 9.125 kB / 0.7337 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.007535, allocations: 3.938 kB / 0.7337 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.007537, allocations: 0 / 0.7337 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.007542, allocations: 0.75 kB / 0.7337 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.007654, allocations: 73.88 kB / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.007655, allocations: 2.125 kB / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.667e-05/0.007672, allocations: 7.938 kB / 0.7338 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.00768, allocations: 0 / 0.7338 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.007682, allocations: 0.5312 kB / 0.7338 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.00769, allocations: 5.266 kB / 0.7338 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.007691, allocations: 4 kB / 0.7338 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.007694, allocations: 3.938 kB / 0.7338 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.555e-05/0.00779, allocations: 65.34 kB / 0.7339 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.007806, allocations: 8.719 kB / 0.7339 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.532e-05/0.007821, allocations: 0 / 0.7339 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.007853, allocations: 13.14 kB / 0.7339 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.007864, allocations: 3.938 kB / 0.7339 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.376e-05/0.007888, allocations: 16.84 kB / 0.7339 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007888, allocations: 0.75 kB / 0.7339 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002055/0.008093, allocations: 19.98 kB / 0.734 GB, free: 15.78 MB / 0.7136 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.0001482/0.008242, allocations: 81.67 kB / 0.734 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.008434, allocations: 134.7 kB / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.00844, allocations: 4 kB / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.826e-05/0.008469, allocations: 17.59 kB / 0.7342 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.008633, allocations: 69.05 kB / 0.7343 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000508/0.009141, allocations: 132.5 kB / 0.7344 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.691e-05/0.009178, allocations: 55.34 kB / 0.7344 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.933e-05/0.009198, allocations: 5.344 kB / 0.7344 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.652e-05/0.009284, allocations: 63.36 kB / 0.7345 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of SimCode: time 7.22e-07/0.009285, allocations: 3.938 kB / 0.7345 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.002884/0.01217, allocations: 1.301 MB / 0.7358 GB, free: 13.91 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal/Buildings_12_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: 4.963963634334505]