Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001408/0.001408, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.00144/0.00144, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.575/1.575, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.922/2.922, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002454/0.002454, allocations: 63.89 kB / 1.107 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269/1.271, allocations: 168.7 MB / 1.272 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002208/1.273, allocations: 0.6133 MB / 1.273 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001601/1.275, allocations: 1.118 MB / 1.274 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/1.275, allocations: 0.8438 kB / 1.274 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.226e-05/1.275, allocations: 0 / 1.274 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.576e-05/1.275, allocations: 10.42 kB / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/1.275, allocations: 132.9 kB / 1.274 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/1.276, allocations: 94.66 kB / 1.274 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.345e-05/1.276, allocations: 10.73 kB / 1.274 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.367e-05/1.276, allocations: 32.44 kB / 1.274 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/1.276, allocations: 32.34 kB / 1.274 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/1.276, allocations: 7.719 kB / 1.274 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.587e-05/1.276, allocations: 26.36 kB / 1.274 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/1.276, allocations: 3.062 kB / 1.274 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.781e-05/1.276, allocations: 34.97 kB / 1.274 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/1.276, allocations: 86.02 kB / 1.274 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.276, allocations: 4.812 kB / 1.274 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/1.276, allocations: 0 / 1.274 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.39e-06/1.276, allocations: 0 / 1.274 GB, free: 6.535 MB / 0.9981 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.0004488/1.277, allocations: 376.7 kB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.277, allocations: 9.344 kB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/1.277, allocations: 14.03 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.542e-05/1.277, allocations: 167 kB / 1.275 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/1.277, allocations: 5.219 kB / 1.275 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/1.277, allocations: 5.344 kB / 1.275 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.648e-05/1.277, allocations: 46.77 kB / 1.275 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/1.277, allocations: 192 / 1.275 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/1.277, allocations: 4.75 kB / 1.275 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/1.277, allocations: 0 / 1.275 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.578e-05/1.277, allocations: 9.469 kB / 1.275 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/1.278, allocations: 290.9 kB / 1.275 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.333e-05/1.278, allocations: 32.48 kB / 1.275 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.213e-05/1.278, allocations: 11.98 kB / 1.275 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/1.278, allocations: 0.875 kB / 1.275 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/1.278, allocations: 59.5 kB / 1.275 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/1.278, allocations: 0 / 1.275 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002171/1.278, allocations: 76.48 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/1.278, allocations: 56.39 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.211e-05/1.278, allocations: 107.9 kB / 1.275 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/1.278, allocations: 31.86 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/1.278, allocations: 88.14 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/1.278, allocations: 5.828 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.677e-05/1.278, allocations: 29.61 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.66e-05/1.278, allocations: 318.5 kB / 1.276 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.284e-05/1.278, allocations: 30.78 kB / 1.276 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.245e-05/1.278, allocations: 48.42 kB / 1.276 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/1.279, allocations: 89.48 kB / 1.276 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.279, allocations: 7.875 kB / 1.276 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002613/1.279, allocations: 154.5 kB / 1.276 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/1.279, allocations: 39.12 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.279, allocations: 1.422 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/1.279, allocations: 1.516 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.028e-05/1.279, allocations: 5.281 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.279, allocations: 9.531 kB / 1.276 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/1.279, allocations: 27.92 kB / 1.276 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/1.279, allocations: 5.469 kB / 1.276 GB, free: 4.551 MB / 0.9981 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.339e-05/1.279, allocations: 119.7 kB / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/1.279, allocations: 9.906 kB / 1.276 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/1.279, allocations: 8.75 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/1.279, allocations: 3.094 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.279, allocations: 8.062 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.279, allocations: 0.875 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/1.279, allocations: 167.4 kB / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.279, allocations: 0 / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.586e-05/1.279, allocations: 2.844 kB / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/1.279, allocations: 0 / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/1.279, allocations: 2.078 kB / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.279, allocations: 1.031 kB / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.279, allocations: 0 / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/1.28, allocations: 91.77 kB / 1.277 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.444e-05/1.28, allocations: 82.59 kB / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/1.28, allocations: 2.156 kB / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.462e-05/1.28, allocations: 0.8438 kB / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/1.28, allocations: 2.875 kB / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/1.28, allocations: 1.625 kB / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.719e-05/1.28, allocations: 86.97 kB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.28, allocations: 0 / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002145/1.28, allocations: 15.86 kB / 1.277 GB, free: 3.941 MB / 0.9981 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.0001448/1.28, allocations: 109.1 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002299/1.28, allocations: 113.1 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.28, allocations: 0 / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/1.28, allocations: 18.05 kB / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/1.281, allocations: 16.14 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/1.281, allocations: 144.2 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/1.281, allocations: 0.6839 MB / 1.278 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.279e-05/1.281, allocations: 6.438 kB / 1.278 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.794e-05/1.281, allocations: 10.42 kB / 1.278 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/1.281, allocations: 1.219 kB / 1.278 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of Templates: time 0.004293/1.285, allocations: 1.079 MB / 1.279 GB, free: 2.797 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.283062569797039]