Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009507/0.0009507, allocations: 72.55 kB / 19.93 MB, free: 4.621 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.0008813/0.0008813, allocations: 177.9 kB / 23.22 MB, free: 1.336 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.8749/0.8749, allocations: 177.2 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.748/1.748, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.266e-05, allocations: 10.22 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001076/0.001099, allocations: 0.5898 MB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.002442, allocations: 1.136 MB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.801e-05/0.00248, allocations: 4 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.729e-05/0.002507, allocations: 3.938 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.784e-05/0.002565, allocations: 7.922 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.002936, allocations: 122.4 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.003061, allocations: 91.77 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.521e-05/0.003146, allocations: 7.984 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.513e-05/0.003221, allocations: 51.95 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.291e-05/0.003294, allocations: 19.97 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.003313, allocations: 12 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.974e-05/0.003363, allocations: 27.86 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.003381, allocations: 7.984 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.003421, allocations: 23.97 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.003559, allocations: 99.77 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.00356, allocations: 0 / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003561, allocations: 0 / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.003565, allocations: 0 / 1.003 GB, free: 10.79 MB / 0.9636 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.0003519/0.003917, allocations: 307.9 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.003952, allocations: 13.34 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.003991, allocations: 4.938 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.407e-05/0.004065, allocations: 113.8 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.004083, allocations: 4.375 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.004098, allocations: 4.375 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.954e-05/0.004177, allocations: 46.23 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.004186, allocations: 192 / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.004194, allocations: 384 / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.004198, allocations: 384 / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.539e-05/0.004234, allocations: 11.92 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.004511, allocations: 236.5 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.153e-05/0.004563, allocations: 26.56 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.804e-05/0.004581, allocations: 16.92 kB / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.00459, allocations: 0 / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.00469, allocations: 63.39 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.004691, allocations: 0 / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.000167/0.004858, allocations: 77.52 kB / 1.004 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.004888, allocations: 55.41 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.9e-05/0.004947, allocations: 109.8 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.004966, allocations: 29.7 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.005004, allocations: 88.12 kB / 1.004 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.12e-05/0.005015, allocations: 7.953 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.005056, allocations: 33.7 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.768e-05/0.005124, allocations: 314.8 kB / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.005192, allocations: 65.67 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.005257, allocations: 80.2 kB / 1.005 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.424e-05/0.005331, allocations: 84.2 kB / 1.005 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005333, allocations: 3.938 kB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001676/0.005501, allocations: 188.9 kB / 1.005 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.005528, allocations: 39.67 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.005533, allocations: 4.062 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.005543, allocations: 4 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.007e-05/0.005593, allocations: 0 / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.005599, allocations: 4 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.005719, allocations: 31.89 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.005731, allocations: 7.938 kB / 1.005 GB, free: 8.52 MB / 0.9636 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.694e-05/0.005788, allocations: 113.8 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-06/0.005795, allocations: 7.953 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.00582, allocations: 7.938 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.005823, allocations: 4 kB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.005829, allocations: 3.984 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.005832, allocations: 0 / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.76e-05/0.00589, allocations: 113.3 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.005891, allocations: 0 / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.635e-06/0.005898, allocations: 4 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.005899, allocations: 0 / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.005906, allocations: 8.062 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.005907, allocations: 3.938 kB / 1.005 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.005907, allocations: 0 / 1.005 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.193e-05/0.005979, allocations: 85.3 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.005986, allocations: 11.98 kB / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.005996, allocations: 7.984 kB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-06/0.006005, allocations: 3.938 kB / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.006026, allocations: 0 / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.00603, allocations: 4 kB / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.796e-05/0.006058, allocations: 87.27 kB / 1.005 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006058, allocations: 0 / 1.005 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001353/0.006193, allocations: 16 kB / 1.005 GB, free: 7.98 MB / 0.9636 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.089e-05/0.006284, allocations: 99.25 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001562/0.00644, allocations: 149 kB / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.006441, allocations: 7.938 kB / 1.006 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.386e-05/0.006465, allocations: 12 kB / 1.006 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.006608, allocations: 11.98 kB / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002232/0.006831, allocations: 150.6 kB / 1.006 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.507e-05/0.006866, allocations: 63.34 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.596e-05/0.006882, allocations: 16.42 kB / 1.006 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of SimCode: time 7.31e-07/0.006883, allocations: 4.125 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of Templates: time 0.001661/0.008544, allocations: 0.9364 MB / 1.007 GB, free: 6.469 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.57125691883266]