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.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.0009208/0.0009208, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001193/0.002114, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007346/0.0007346, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008589/0.001593, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9774/0.9774, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09481/1.072, allocations: 53.66 MB / 243.3 MB, free: 15.55 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.852/1.852, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5681/2.42, allocations: 123.3 MB / 0.728 GB, free: 5.812 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_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 1.834e-06/1.834e-06, allocations: 0 / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.659e-05, allocations: 7.234 kB / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001096/0.001113, allocations: 0.654 MB / 0.7299 GB, free: 3.918 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.002202, allocations: 1.165 MB / 0.7311 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.239e-05/0.002224, allocations: 0 / 0.7311 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.002247, allocations: 4.594 kB / 0.7311 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.661e-05/0.002284, allocations: 12.06 kB / 0.7311 GB, free: 2.734 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.002554, allocations: 117.3 kB / 0.7312 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.002698, allocations: 92.5 kB / 0.7313 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.977e-05/0.002768, allocations: 11.98 kB / 0.7313 GB, free: 2.527 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.178e-05/0.00286, allocations: 49.27 kB / 0.7313 GB, free: 2.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.802e-05/0.002948, allocations: 28.03 kB / 0.7314 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.002969, allocations: 8 kB / 0.7314 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.5e-05/0.003044, allocations: 23.97 kB / 0.7314 GB, free: 2.426 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.003061, allocations: 5.531 kB / 0.7314 GB, free: 2.422 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.0031, allocations: 17.97 kB / 0.7314 GB, free: 2.406 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.00322, allocations: 57.64 kB / 0.7315 GB, free: 2.352 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.502e-05/0.003235, allocations: 0 / 0.7315 GB, free: 2.352 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003236, allocations: 0.5 kB / 0.7315 GB, free: 2.352 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.003253, allocations: 5.062 kB / 0.7315 GB, free: 2.348 MB / 0.698 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.0004009/0.003654, allocations: 290.2 kB / 0.7318 GB, free: 2.031 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.003689, allocations: 8.031 kB / 0.7318 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.003723, allocations: 13.89 kB / 0.7318 GB, free: 2.012 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.297e-05/0.003816, allocations: 109.8 kB / 0.7319 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.003834, allocations: 6.094 kB / 0.7319 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.003847, allocations: 4.375 kB / 0.7319 GB, free: 1.871 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.7e-05/0.003924, allocations: 50.94 kB / 0.7319 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.003931, allocations: 192 / 0.7319 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.003937, allocations: 384 / 0.7319 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.003942, allocations: 5.125 kB / 0.732 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.98e-05/0.003962, allocations: 7.938 kB / 0.732 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.004201, allocations: 164.8 kB / 0.7321 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.887e-05/0.00425, allocations: 24.22 kB / 0.7321 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.353e-05/0.004263, allocations: 12.95 kB / 0.7322 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.004269, allocations: 0 / 0.7322 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.63e-05/0.004355, allocations: 59.33 kB / 0.7322 GB, free: 1.508 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.004356, allocations: 0.875 kB / 0.7322 GB, free: 1.508 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001091/0.004465, allocations: 53.62 kB / 0.7323 GB, free: 1.449 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.004497, allocations: 52.44 kB / 0.7323 GB, free: 1.387 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.931e-05/0.004556, allocations: 110.7 kB / 0.7324 GB, free: 1.266 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.004573, allocations: 29.7 kB / 0.7324 GB, free: 1.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.00461, allocations: 93.86 kB / 0.7325 GB, free: 1.137 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.004626, allocations: 15.83 kB / 0.7326 GB, free: 1.121 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.004664, allocations: 25.7 kB / 0.7326 GB, free: 1.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.827e-05/0.004743, allocations: 314.8 kB / 0.7329 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.747e-05/0.00479, allocations: 53.69 kB / 0.7329 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.004998, allocations: 69.41 kB / 0.733 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.523e-05/0.005063, allocations: 80.95 kB / 0.7331 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.005066, allocations: 4 kB / 0.7331 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001082/0.005175, allocations: 150.1 kB / 0.7332 GB, free: 380 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.005209, allocations: 37.69 kB / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.005213, allocations: 0.5938 kB / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.669e-06/0.005223, allocations: 8.469 kB / 0.7333 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.125e-05/0.005264, allocations: 7.938 kB / 0.7333 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.005268, allocations: 0.9375 kB / 0.7333 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.005373, allocations: 20.53 kB / 0.7333 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.005385, allocations: 7.984 kB / 0.7333 GB, free: 292 kB / 0.698 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 5.746e-05/0.005442, allocations: 114.6 kB / 0.7334 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-06/0.005448, allocations: 4.594 kB / 0.7334 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.963e-05/0.005467, allocations: 5.156 kB / 0.7334 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.005469, allocations: 3.938 kB / 0.7334 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.005471, allocations: 0 / 0.7334 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.005476, allocations: 7.984 kB / 0.7334 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.612e-05/0.005532, allocations: 66.8 kB / 0.7335 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.005534, allocations: 0 / 0.7335 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.668e-06/0.005543, allocations: 9.188 kB / 0.7335 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-06/0.005549, allocations: 0 / 0.7335 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.00555, allocations: 3.984 kB / 0.7335 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-06/0.005555, allocations: 5.188 kB / 0.7335 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.005555, allocations: 0 / 0.7335 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.005557, allocations: 3.938 kB / 0.7335 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.643e-05/0.005624, allocations: 73.34 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.005632, allocations: 1.25 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.046e-05/0.005642, allocations: 3.984 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.005664, allocations: 0 / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.00567, allocations: 12.97 kB / 0.7336 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.123e-05/0.005681, allocations: 8.859 kB / 0.7336 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005681, allocations: 0 / 0.7336 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001103/0.005791, allocations: 24.52 kB / 0.7336 GB, free: 15.9 MB / 0.7136 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 8.928e-05/0.005881, allocations: 81.92 kB / 0.7337 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.006016, allocations: 133.9 kB / 0.7338 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.006022, allocations: 5.219 kB / 0.7338 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.739e-05/0.006039, allocations: 16.78 kB / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.965e-05/0.006139, allocations: 16.44 kB / 0.7339 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.006513, allocations: 129.3 kB / 0.734 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.717e-05/0.00654, allocations: 55.36 kB / 0.734 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.684e-05/0.006557, allocations: 8.672 kB / 0.7341 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.006625, allocations: 64.17 kB / 0.7341 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of SimCode: time 8.61e-07/0.006626, allocations: 0 / 0.7341 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of Templates: time 0.002694/0.009319, allocations: 1.337 MB / 0.7354 GB, free: 14.06 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.887166346423328]