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.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.0007912/0.0007912, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008351/0.0008351, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8753/0.8753, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.643/1.643, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.834e-06/1.834e-06, allocations: 0 / 0.9517 GB, free: 1.887 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.043e-05, allocations: 10.22 kB / 0.9517 GB, free: 1.875 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.00103/0.001051, allocations: 0.5907 MB / 0.9523 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.002169, allocations: 1.14 MB / 0.9534 GB, free: 128 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.002206, allocations: 3.938 kB / 0.9534 GB, free: 124 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.002229, allocations: 0 / 0.9534 GB, free: 124 kB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.554e-05/0.002285, allocations: 7.875 kB / 0.9534 GB, free: 116 kB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.002649, allocations: 113.2 kB / 0.9535 GB, free: 4 kB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.002783, allocations: 95.81 kB / 0.9536 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.338e-05/0.002866, allocations: 8 kB / 0.9536 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.966e-05/0.002946, allocations: 55.89 kB / 0.9537 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.008e-05/0.003026, allocations: 23.95 kB / 0.9537 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.003046, allocations: 8 kB / 0.9537 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.122e-05/0.003097, allocations: 23.92 kB / 0.9537 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.003116, allocations: 7.938 kB / 0.9537 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.003158, allocations: 23.97 kB / 0.9538 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.003302, allocations: 99.83 kB / 0.9539 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.003304, allocations: 0 / 0.9539 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.202e-06/0.003305, allocations: 3.938 kB / 0.9539 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.003308, allocations: 0 / 0.9539 GB, free: 15.66 MB / 0.8698 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.0003518/0.00366, allocations: 307.9 kB / 0.9542 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.003697, allocations: 8.031 kB / 0.9542 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.003736, allocations: 8.891 kB / 0.9542 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.301e-05/0.003809, allocations: 113.7 kB / 0.9543 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.003826, allocations: 4.375 kB / 0.9543 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.003841, allocations: 4.375 kB / 0.9543 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.868e-05/0.003919, allocations: 42.25 kB / 0.9543 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.003925, allocations: 4.125 kB / 0.9543 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.003934, allocations: 384 / 0.9543 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.003938, allocations: 384 / 0.9543 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.519e-05/0.003974, allocations: 11.92 kB / 0.9543 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.004261, allocations: 236.5 kB / 0.9546 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.062e-05/0.004312, allocations: 26.58 kB / 0.9546 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.658e-05/0.004328, allocations: 8.844 kB / 0.9546 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.004336, allocations: 4.062 kB / 0.9546 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.331e-05/0.00443, allocations: 67.33 kB / 0.9547 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.004431, allocations: 0 / 0.9547 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0001582/0.004589, allocations: 69.62 kB / 0.9547 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.00462, allocations: 55.41 kB / 0.9548 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.491e-05/0.004675, allocations: 105.8 kB / 0.9549 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.00469, allocations: 33.64 kB / 0.9549 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.004726, allocations: 92.09 kB / 0.955 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.004741, allocations: 15.92 kB / 0.955 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.004781, allocations: 29.7 kB / 0.9551 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.097e-05/0.004852, allocations: 314.8 kB / 0.9554 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.316e-05/0.004915, allocations: 61.69 kB / 0.9554 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.729e-05/0.004982, allocations: 80.56 kB / 0.9555 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.382e-05/0.005056, allocations: 84.2 kB / 0.9556 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.005058, allocations: 0 / 0.9556 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000164/0.005222, allocations: 181 kB / 0.9557 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.00525, allocations: 45.62 kB / 0.9558 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.005254, allocations: 80 / 0.9558 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.005267, allocations: 7.938 kB / 0.9558 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.23e-05/0.005309, allocations: 0 / 0.9558 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.005315, allocations: 7.984 kB / 0.9558 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.005443, allocations: 31.86 kB / 0.9558 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.005457, allocations: 8.219 kB / 0.9558 GB, free: 13.39 MB / 0.8698 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 6.527e-05/0.005522, allocations: 117.9 kB / 0.956 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-06/0.005528, allocations: 4 kB / 0.956 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.005552, allocations: 11.92 kB / 0.956 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.005553, allocations: 0 / 0.956 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.005557, allocations: 0 / 0.956 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.005561, allocations: 0 / 0.956 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.716e-05/0.005628, allocations: 113.3 kB / 0.9561 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.005629, allocations: 0 / 0.9561 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.625e-06/0.005636, allocations: 7.938 kB / 0.9561 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.005638, allocations: 4.047 kB / 0.9561 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.005645, allocations: 7.938 kB / 0.9561 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.005647, allocations: 7.938 kB / 0.9561 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.005648, allocations: 0 / 0.9561 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.25e-05/0.005721, allocations: 85.08 kB / 0.9562 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-06/0.005726, allocations: 0 / 0.9562 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.005735, allocations: 0 / 0.9562 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.058e-05/0.005745, allocations: 11.92 kB / 0.9562 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.005766, allocations: 0 / 0.9562 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.005769, allocations: 0 / 0.9562 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.049e-05/0.0058, allocations: 91.27 kB / 0.9563 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.0058, allocations: 0 / 0.9563 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001357/0.005936, allocations: 16 kB / 0.9563 GB, free: 12.86 MB / 0.8698 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 9.182e-05/0.006027, allocations: 106.5 kB / 0.9564 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.006184, allocations: 149 kB / 0.9565 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.006185, allocations: 0 / 0.9565 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.633e-05/0.006212, allocations: 8 kB / 0.9566 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.006354, allocations: 11.98 kB / 0.9566 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002245/0.006578, allocations: 158.4 kB / 0.9567 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.955e-05/0.006618, allocations: 67.47 kB / 0.9568 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.006634, allocations: 16.5 kB / 0.9568 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of SimCode: time 5.71e-07/0.006635, allocations: 3.938 kB / 0.9568 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of Templates: time 0.001691/0.008326, allocations: 0.9318 MB / 0.9577 GB, free: 11.35 MB / 0.8698 GB " [Timeout remaining time 300] 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: 6.23466179985553]