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.001203/0.001203, 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.001446/0.001446, allocations: 204.5 kB / 22.18 MB, free: 5.207 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.471/1.471, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.919/2.919, 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.002199/0.002199, allocations: 67.89 kB / 1.109 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8348/0.837, allocations: 168.7 MB / 1.274 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001775/0.8388, allocations: 0.611 MB / 1.275 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.8402, allocations: 1.123 MB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.8402, allocations: 4 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.8402, allocations: 0 / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.929e-05/0.8403, allocations: 15.86 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.8408, allocations: 128.1 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.8409, allocations: 87.77 kB / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.929e-05/0.841, allocations: 11.98 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.975e-05/0.8411, allocations: 31.97 kB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.673e-05/0.8412, allocations: 31.89 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.8412, allocations: 12 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.995e-05/0.8413, allocations: 23.98 kB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.8413, allocations: 7.938 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.628e-05/0.8413, allocations: 31.91 kB / 1.276 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.8415, allocations: 86.45 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.8415, allocations: 0 / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8415, allocations: 0 / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.8416, allocations: 0 / 1.276 GB, free: 2.211 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.0005617/0.8421, allocations: 389 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.8422, allocations: 8.031 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.8422, allocations: 8.938 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.8424, allocations: 168.3 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.8424, allocations: 4.312 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.8424, allocations: 8.375 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.8425, allocations: 38.25 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.8425, allocations: 192 / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.8425, allocations: 3.938 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.8425, allocations: 0 / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.9e-05/0.8426, allocations: 15.98 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.843, allocations: 284.9 kB / 1.277 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.129e-05/0.8431, allocations: 38.44 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.498e-05/0.8431, allocations: 8.922 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.8431, allocations: 0 / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.8433, allocations: 60.94 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.8433, allocations: 4 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002155/0.8435, allocations: 73.58 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.8435, allocations: 55.41 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.303e-05/0.8436, allocations: 105.8 kB / 1.277 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.8437, allocations: 29.7 kB / 1.277 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.8437, allocations: 84.14 kB / 1.277 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.8437, allocations: 11.94 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.847e-05/0.8438, allocations: 33.7 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.8439, allocations: 314.8 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.032e-05/0.844, allocations: 31.98 kB / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.922e-05/0.8441, allocations: 54.42 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.8442, allocations: 92.19 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.8442, allocations: 3.938 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002905/0.8445, allocations: 159.5 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.8446, allocations: 33.7 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.8446, allocations: 0 / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.8446, allocations: 0 / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.478e-05/0.8446, allocations: 8.062 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.8447, allocations: 3.984 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.8449, allocations: 35.89 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.8449, allocations: 4 kB / 1.278 GB, free: 15.81 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.0001045/0.845, allocations: 125.8 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-06/0.845, allocations: 0 / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.845, allocations: 11.89 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.845, allocations: 4 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.845, allocations: 0 / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.845, allocations: 0 / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.8452, allocations: 165.6 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.8452, allocations: 0 / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.774e-05/0.8452, allocations: 3.984 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.8452, allocations: 0 / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.8452, allocations: 12 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8452, allocations: 0 / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8452, allocations: 0 / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.8453, allocations: 81.06 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.8454, allocations: 81.06 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.8454, allocations: 7.984 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.463e-05/0.8454, allocations: 0 / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.8454, allocations: 3.938 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.8454, allocations: 8 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.255e-05/0.8455, allocations: 87.27 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8455, allocations: 0 / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002144/0.8457, allocations: 16 kB / 1.279 GB, free: 15.12 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.0001405/0.8458, allocations: 103.8 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002384/0.8461, allocations: 107.4 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8461, allocations: 3.938 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.737e-05/0.8461, allocations: 20.05 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.8463, allocations: 13.66 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.8466, allocations: 145.8 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.8469, allocations: 0.6807 MB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.727e-05/0.8469, allocations: 0 / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.8469, allocations: 11.44 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.8469, allocations: 0 / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of Templates: time 0.003876/0.8508, allocations: 1.083 MB / 1.281 GB, free: 12.89 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 gbode -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: 8.702210010960698]