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.001415/0.001415, allocations: 110 kB / 18.93 MB, free: 2.945 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.001484/0.001484, allocations: 193.5 kB / 22.23 MB, free: 5.16 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.497/1.497, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.972/2.972, allocations: 476.7 MB / 0.7646 GB, free: 9.852 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.00328/0.00328, allocations: 63.89 kB / 1.11 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.04, allocations: 168.8 MB / 1.274 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002224/1.042, allocations: 0.6109 MB / 1.275 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001639/1.043, allocations: 1.124 MB / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/1.043, allocations: 0 / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.353e-05/1.044, allocations: 3.938 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.936e-05/1.044, allocations: 11.92 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/1.044, allocations: 127 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000183/1.044, allocations: 87.88 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/1.044, allocations: 4 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.018e-05/1.044, allocations: 35.97 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/1.045, allocations: 31.89 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/1.045, allocations: 12 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.712e-05/1.045, allocations: 27.92 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/1.045, allocations: 11.92 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.307e-05/1.045, allocations: 27.92 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/1.045, allocations: 86.45 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.045, allocations: 0 / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.064e-06/1.045, allocations: 0 / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.783e-06/1.045, allocations: 0 / 1.276 GB, free: 1.996 MB / 0.9669 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.0005796/1.046, allocations: 307.6 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.046, allocations: 16.03 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/1.046, allocations: 4.938 kB / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/1.046, allocations: 110.5 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/1.046, allocations: 8.375 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/1.046, allocations: 8.312 kB / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/1.046, allocations: 38.25 kB / 1.277 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/1.046, allocations: 4.125 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/1.046, allocations: 11.92 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/1.046, allocations: 0 / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.92e-05/1.046, allocations: 4 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/1.046, allocations: 268 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.886e-05/1.047, allocations: 26.52 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/1.047, allocations: 10.44 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/1.047, allocations: 4.062 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/1.047, allocations: 59.33 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/1.047, allocations: 8 kB / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.000232/1.047, allocations: 69.62 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/1.047, allocations: 55.41 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/1.047, allocations: 105.8 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/1.047, allocations: 33.64 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/1.047, allocations: 96.06 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/1.047, allocations: 3.953 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-05/1.047, allocations: 29.7 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.047, allocations: 326.8 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.786e-05/1.048, allocations: 27.98 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.865e-05/1.048, allocations: 46.56 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/1.048, allocations: 88.2 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.048, allocations: 3.938 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002904/1.048, allocations: 151.2 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/1.048, allocations: 41.69 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/1.048, allocations: 4 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.048, allocations: 0 / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.435e-05/1.048, allocations: 4.062 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/1.048, allocations: 4 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/1.048, allocations: 27.91 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/1.048, allocations: 4 kB / 1.278 GB, free: 15.8 MB / 0.9825 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.0001129/1.049, allocations: 128.4 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/1.049, allocations: 4 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/1.049, allocations: 4 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/1.049, allocations: 0 / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.049, allocations: 0 / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/1.049, allocations: 0 / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/1.049, allocations: 144.6 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/1.049, allocations: 0 / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-05/1.049, allocations: 4 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/1.049, allocations: 4 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/1.049, allocations: 7.875 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.049, allocations: 0 / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/1.049, allocations: 0 / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/1.049, allocations: 93.05 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/1.049, allocations: 3.953 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/1.049, allocations: 0 / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.33e-05/1.049, allocations: 0 / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/1.049, allocations: 11.98 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/1.049, allocations: 288 / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.948e-05/1.049, allocations: 91.27 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/1.049, allocations: 3.938 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002082/1.049, allocations: 12 kB / 1.279 GB, free: 15.23 MB / 0.9825 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.0001591/1.049, allocations: 103.2 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002418/1.05, allocations: 119.3 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.05, allocations: 128 / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.862e-05/1.05, allocations: 12 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/1.05, allocations: 15.92 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/1.05, allocations: 138 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/1.05, allocations: 0.6807 MB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.376e-05/1.051, allocations: 7.984 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/1.051, allocations: 11.44 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/1.051, allocations: 4 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of Templates: time 0.004167/1.055, allocations: 1.083 MB / 1.281 GB, free: 12.99 MB / 0.9825 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: 9.635418270714581]