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.001776/0.001776, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002158/0.002158, allocations: 200.7 kB / 22.17 MB, free: 5.211 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.517/1.517, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.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.907/2.907, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 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.002175/0.002175, allocations: 71.88 kB / 1.109 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.05, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002447/1.052, allocations: 0.6082 MB / 1.275 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00184/1.054, allocations: 1.12 MB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.311e-05/1.054, allocations: 4 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/1.054, allocations: 3.938 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.675e-05/1.054, allocations: 3.938 kB / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007007/1.055, allocations: 124.9 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002376/1.055, allocations: 95.81 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/1.055, allocations: 4 kB / 1.276 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/1.056, allocations: 35.97 kB / 1.276 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/1.056, allocations: 31.89 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/1.056, allocations: 12 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.428e-05/1.056, allocations: 19.98 kB / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/1.056, allocations: 7.938 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.246e-05/1.056, allocations: 35.84 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/1.056, allocations: 82.45 kB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/1.056, allocations: 4 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.773e-06/1.056, allocations: 0 / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.885e-06/1.056, allocations: 0 / 1.276 GB, free: 2.328 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.0006767/1.057, allocations: 385 kB / 1.277 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.057, allocations: 8.031 kB / 1.277 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.689e-05/1.057, allocations: 8.938 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/1.057, allocations: 168.3 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/1.057, allocations: 8.359 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/1.057, allocations: 8.312 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/1.057, allocations: 42.25 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/1.057, allocations: 192 / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/1.057, allocations: 3.938 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/1.057, allocations: 0 / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.6e-05/1.057, allocations: 11.94 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/1.058, allocations: 292.9 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.164e-05/1.058, allocations: 30.52 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/1.058, allocations: 8.859 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/1.058, allocations: 4.062 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/1.058, allocations: 64.88 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 3.897e-06/1.058, allocations: 4 kB / 1.277 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002521/1.058, allocations: 69.62 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/1.058, allocations: 51.41 kB / 1.277 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/1.059, allocations: 113.8 kB / 1.277 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/1.059, allocations: 25.7 kB / 1.277 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.894e-05/1.059, allocations: 84.14 kB / 1.277 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/1.059, allocations: 7.953 kB / 1.278 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.733e-05/1.059, allocations: 29.7 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.059, allocations: 322.8 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.941e-05/1.059, allocations: 35.92 kB / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.502e-05/1.059, allocations: 46.56 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/1.059, allocations: 88.33 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.059, allocations: 7.875 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002837/1.06, allocations: 155.2 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.432e-05/1.06, allocations: 39.41 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.06, allocations: 4 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.06, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.989e-05/1.06, allocations: 7.938 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/1.06, allocations: 0 / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/1.06, allocations: 27.91 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/1.06, allocations: 4 kB / 1.278 GB, free: 15.94 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.0001243/1.06, allocations: 125.8 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/1.06, allocations: 4 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/1.06, allocations: 3.906 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/1.06, allocations: 0 / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.06, allocations: 0 / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.06, allocations: 240 / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/1.06, allocations: 177.5 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.06, allocations: 0 / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/1.06, allocations: 7.984 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/1.06, allocations: 0 / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/1.06, allocations: 7.938 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.06, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.06, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/1.06, allocations: 92.98 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/1.06, allocations: 81.06 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/1.061, allocations: 0 / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.884e-05/1.061, allocations: 4 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/1.061, allocations: 7.984 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/1.061, allocations: 8 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.941e-05/1.061, allocations: 83.28 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/1.061, allocations: 0 / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002248/1.061, allocations: 16 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.0001963/1.061, allocations: 103.8 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002392/1.061, allocations: 111.3 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.061, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/1.061, allocations: 12.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.0002245/1.062, allocations: 19.86 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.0003606/1.062, allocations: 145.8 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/1.062, allocations: 0.6768 MB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.189e-05/1.062, allocations: 7.984 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/1.062, allocations: 11.44 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/1.062, allocations: 0 / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of Templates: time 0.004219/1.067, allocations: 1.082 MB / 1.281 GB, free: 13.01 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.451184764038771]