Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001631/0.001631, allocations: 110 kB / 18.94 MB, free: 2.789 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.002462/0.002462, allocations: 194.2 kB / 22.23 MB, free: 5.234 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.504/1.504, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.314/3.314, allocations: 496 MB / 0.7835 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 68.02 kB / 1.138 GB, free: 33.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4544/0.4564, allocations: 173.6 MB / 1.307 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002052/0.4585, allocations: 0.6229 MB / 1.308 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.46, allocations: 1.124 MB / 1.309 GB, free: 80 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.46, allocations: 0 / 1.309 GB, free: 80 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/0.46, allocations: 3.938 kB / 1.309 GB, free: 76 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.205e-05/0.4601, allocations: 7.875 kB / 1.309 GB, free: 68 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005145/0.4606, allocations: 119.3 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.4608, allocations: 95.86 kB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.224e-05/0.4609, allocations: 4 kB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.774e-05/0.461, allocations: 35.92 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.4611, allocations: 39.83 kB / 1.309 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.4611, allocations: 12 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.096e-05/0.4612, allocations: 19.97 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.4612, allocations: 8 kB / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.4613, allocations: 27.92 kB / 1.309 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.4615, allocations: 83.72 kB / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.4615, allocations: 4 kB / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4615, allocations: 0 / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.4615, allocations: 0 / 1.309 GB, free: 15.63 MB / 1.014 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.0005055/0.462, allocations: 300 kB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.462, allocations: 8.031 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.4621, allocations: 8.938 kB / 1.31 GB, free: 15.28 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.4622, allocations: 114.4 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.4622, allocations: 8.359 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.4622, allocations: 8.375 kB / 1.31 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.4623, allocations: 46.12 kB / 1.31 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.4623, allocations: 192 / 1.31 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.4624, allocations: 3.938 kB / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4624, allocations: 0 / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.974e-05/0.4624, allocations: 8 kB / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.4628, allocations: 268 kB / 1.31 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.181e-05/0.4629, allocations: 26.52 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.4629, allocations: 12.86 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.463, allocations: 0 / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.4631, allocations: 63.38 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4631, allocations: 4 kB / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002088/0.4633, allocations: 73.62 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.4634, allocations: 55.41 kB / 1.31 GB, free: 14.49 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.8e-05/0.4635, allocations: 109.8 kB / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.4635, allocations: 29.7 kB / 1.311 GB, free: 14.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.4635, allocations: 84.14 kB / 1.311 GB, free: 14.25 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.4636, allocations: 7.953 kB / 1.311 GB, free: 14.24 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.4636, allocations: 29.7 kB / 1.311 GB, free: 14.21 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4638, allocations: 322.8 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.392e-05/0.4639, allocations: 27.98 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.494e-05/0.4639, allocations: 54.69 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.4641, allocations: 84.2 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4641, allocations: 3.938 kB / 1.311 GB, free: 13.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002929/0.4644, allocations: 159.3 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.725e-05/0.4644, allocations: 41.69 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4644, allocations: 48 / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.4644, allocations: 3.984 kB / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.157e-05/0.4645, allocations: 4 kB / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4645, allocations: 0 / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.4647, allocations: 23.97 kB / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.4647, allocations: 4 kB / 1.311 GB, free: 13.44 MB / 1.014 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.0001066/0.4648, allocations: 133.8 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.4648, allocations: 3.953 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.4649, allocations: 8 kB / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.4649, allocations: 4 kB / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4649, allocations: 3.938 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4649, allocations: 0 / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.465, allocations: 140.6 kB / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.465, allocations: 0 / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/0.465, allocations: 3.938 kB / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.465, allocations: 4 kB / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.465, allocations: 4 kB / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.465, allocations: 0 / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.465, allocations: 0 / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.4652, allocations: 89.05 kB / 1.312 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.4652, allocations: 7.953 kB / 1.312 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.4652, allocations: 0 / 1.312 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.384e-05/0.4652, allocations: 0 / 1.312 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.4652, allocations: 0 / 1.312 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.4653, allocations: 11.98 kB / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.503e-05/0.4653, allocations: 83.28 kB / 1.312 GB, free: 12.88 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4653, allocations: 0 / 1.312 GB, free: 12.88 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002164/0.4655, allocations: 16 kB / 1.312 GB, free: 12.86 MB / 1.014 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.0001467/0.4657, allocations: 108 kB / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.4659, allocations: 111.4 kB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4659, allocations: 4 kB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.404e-05/0.4659, allocations: 16.06 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.4662, allocations: 17.64 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.4665, allocations: 126.1 kB / 1.312 GB, free: 12.44 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.4668, allocations: 0.6807 MB / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.072e-05/0.4668, allocations: 0 / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.4668, allocations: 15.42 kB / 1.313 GB, free: 11.72 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/0.4668, allocations: 0 / 1.313 GB, free: 11.72 MB / 1.014 GB Notification: Performance of Templates: time 0.004178/0.471, allocations: 1.095 MB / 1.314 GB, free: 10.64 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.691984188742936]