Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001707/0.001707, allocations: 111.5 kB / 17.08 MB, free: 6.008 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.002065/0.002065, allocations: 191.7 kB / 20.03 MB, free: 3.078 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.655/1.655, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.737/2.737, allocations: 437.1 MB / 0.7177 GB, free: 4.543 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 71.89 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3442, allocations: 151.6 MB / 1.176 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002395/0.3466, allocations: 0.6171 MB / 1.176 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002082/0.3488, allocations: 1.117 MB / 1.178 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.3488, allocations: 0 / 1.178 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.3489, allocations: 3.938 kB / 1.178 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.548e-05/0.349, allocations: 3.938 kB / 1.178 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006496/0.3497, allocations: 123.6 kB / 1.178 GB, free: 4 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.3499, allocations: 103.8 kB / 1.178 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.534e-05/0.35, allocations: 4 kB / 1.178 GB, free: 3.895 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.724e-05/0.3501, allocations: 35.92 kB / 1.178 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.3502, allocations: 35.88 kB / 1.178 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.3503, allocations: 8 kB / 1.178 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.893e-05/0.3504, allocations: 27.98 kB / 1.178 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.3504, allocations: 0 / 1.178 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.292e-05/0.3505, allocations: 35.91 kB / 1.178 GB, free: 3.754 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.3508, allocations: 83.72 kB / 1.178 GB, free: 3.672 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.3508, allocations: 0 / 1.178 GB, free: 3.672 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3508, allocations: 0 / 1.178 GB, free: 3.672 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.3508, allocations: 0 / 1.178 GB, free: 3.672 MB / 0.92 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.0005425/0.3513, allocations: 385 kB / 1.178 GB, free: 3.238 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.3514, allocations: 8.031 kB / 1.178 GB, free: 3.23 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.3514, allocations: 4.938 kB / 1.178 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.3516, allocations: 176.3 kB / 1.179 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.3516, allocations: 384 / 1.179 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.3517, allocations: 12.31 kB / 1.179 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.3518, allocations: 38.25 kB / 1.179 GB, free: 2.961 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3518, allocations: 4.125 kB / 1.179 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3518, allocations: 7.922 kB / 1.179 GB, free: 2.949 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3518, allocations: 0 / 1.179 GB, free: 2.949 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.663e-05/0.3519, allocations: 15.98 kB / 1.179 GB, free: 2.934 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.3523, allocations: 292.8 kB / 1.179 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.043e-05/0.3524, allocations: 34.5 kB / 1.179 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.156e-05/0.3524, allocations: 12.92 kB / 1.179 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.3525, allocations: 0 / 1.179 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.3527, allocations: 59.39 kB / 1.179 GB, free: 2.469 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.3527, allocations: 0 / 1.179 GB, free: 2.469 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002119/0.3529, allocations: 69.62 kB / 1.179 GB, free: 2.395 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.353, allocations: 63.39 kB / 1.179 GB, free: 2.32 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.971e-05/0.3531, allocations: 109.8 kB / 1.179 GB, free: 2.203 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.3531, allocations: 29.7 kB / 1.179 GB, free: 2.168 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.3532, allocations: 84.14 kB / 1.179 GB, free: 2.082 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.3532, allocations: 7.953 kB / 1.179 GB, free: 2.074 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/0.3533, allocations: 29.7 kB / 1.179 GB, free: 2.039 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3534, allocations: 314.8 kB / 1.18 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.438e-05/0.3535, allocations: 35.97 kB / 1.18 GB, free: 1.688 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.042e-05/0.3536, allocations: 50.56 kB / 1.18 GB, free: 1.629 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.3537, allocations: 88.27 kB / 1.18 GB, free: 1.527 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.3537, allocations: 3.938 kB / 1.18 GB, free: 1.523 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002619/0.354, allocations: 151.2 kB / 1.18 GB, free: 1.363 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/0.3541, allocations: 43.47 kB / 1.18 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.3541, allocations: 4 kB / 1.18 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3541, allocations: 0 / 1.18 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.775e-05/0.3542, allocations: 4 kB / 1.18 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.3542, allocations: 3.938 kB / 1.18 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.3544, allocations: 23.97 kB / 1.18 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.3544, allocations: 4 kB / 1.18 GB, free: 1.277 MB / 0.92 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.0001019/0.3545, allocations: 121.8 kB / 1.18 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.3545, allocations: 8 kB / 1.18 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.3546, allocations: 3.906 kB / 1.18 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3546, allocations: 3.938 kB / 1.18 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3546, allocations: 0 / 1.18 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3546, allocations: 4 kB / 1.18 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.3547, allocations: 169.6 kB / 1.18 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3547, allocations: 0 / 1.18 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.637e-05/0.3548, allocations: 4 kB / 1.18 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3548, allocations: 0 / 1.18 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.3548, allocations: 0 / 1.18 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3548, allocations: 4 kB / 1.18 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3548, allocations: 7.938 kB / 1.18 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.3549, allocations: 92.94 kB / 1.18 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.355, allocations: 81.05 kB / 1.181 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.355, allocations: 0 / 1.181 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.542e-05/0.355, allocations: 4 kB / 1.181 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.3551, allocations: 4 kB / 1.181 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3551, allocations: 0 / 1.181 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.276e-05/0.3552, allocations: 91.27 kB / 1.181 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3552, allocations: 0 / 1.181 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002135/0.3554, allocations: 16 kB / 1.181 GB, free: 0.5703 MB / 0.92 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.0001632/0.3555, allocations: 107.2 kB / 1.181 GB, free: 468 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.3558, allocations: 127.6 kB / 1.181 GB, free: 328 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3558, allocations: 0 / 1.181 GB, free: 328 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.689e-05/0.3559, allocations: 16 kB / 1.181 GB, free: 312 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.3561, allocations: 16.05 kB / 1.181 GB, free: 296 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.3564, allocations: 143.9 kB / 1.181 GB, free: 120 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.3568, allocations: 0.6807 MB / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.3568, allocations: 11.44 kB / 1.182 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3568, allocations: 0 / 1.182 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of Templates: time 0.002818/0.3596, allocations: 0.9366 MB / 1.183 GB, free: 14.47 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.591381201986223]