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.001815/0.001815, allocations: 81.16 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001715/0.001715, allocations: 162.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.497/1.497, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 3.021/3.021, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.815e-06/2.815e-06, allocations: 0 / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.67e-05/3.951e-05, allocations: 2.281 kB / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002306/0.002346, allocations: 0.6122 MB / 1.001 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.004336, allocations: 1.127 MB / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.985e-05/0.004396, allocations: 0 / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.00443, allocations: 11.94 kB / 1.002 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.898e-05/0.004529, allocations: 7.984 kB / 1.002 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005697/0.005098, allocations: 124.1 kB / 1.002 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.005301, allocations: 87.83 kB / 1.002 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.38e-05/0.005394, allocations: 7.984 kB / 1.002 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.005516, allocations: 51.89 kB / 1.002 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.005636, allocations: 23.97 kB / 1.002 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.005669, allocations: 8 kB / 1.002 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.98e-05/0.005748, allocations: 27.92 kB / 1.002 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.005774, allocations: 11.92 kB / 1.002 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.474e-05/0.005839, allocations: 27.97 kB / 1.002 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.006042, allocations: 91.83 kB / 1.002 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.006045, allocations: 4 kB / 1.002 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.81e-07/0.006045, allocations: 0 / 1.002 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.00605, allocations: 0 / 1.002 GB, free: 5.082 MB / 0.9512 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.0005317/0.006581, allocations: 303.9 kB / 1.003 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.006623, allocations: 8.031 kB / 1.003 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.006676, allocations: 4.938 kB / 1.003 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.006808, allocations: 113.7 kB / 1.003 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.006833, allocations: 8.312 kB / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.00686, allocations: 8.375 kB / 1.003 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.006974, allocations: 38.25 kB / 1.003 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.006984, allocations: 192 / 1.003 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.006994, allocations: 384 / 1.003 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.007, allocations: 384 / 1.003 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.34e-05/0.007074, allocations: 23.86 kB / 1.003 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.007494, allocations: 220.6 kB / 1.003 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.005e-05/0.007584, allocations: 30.56 kB / 1.003 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.007611, allocations: 8.922 kB / 1.003 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.007628, allocations: 8 kB / 1.003 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.007804, allocations: 63.33 kB / 1.003 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.007806, allocations: 0 / 1.003 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002826/0.008088, allocations: 77.52 kB / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.008135, allocations: 51.41 kB / 1.003 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.008245, allocations: 109.8 kB / 1.003 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.008275, allocations: 29.7 kB / 1.003 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.008354, allocations: 84.14 kB / 1.003 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.008376, allocations: 15.88 kB / 1.003 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-05/0.008449, allocations: 29.7 kB / 1.003 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.008591, allocations: 318.8 kB / 1.004 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.008704, allocations: 65.61 kB / 1.004 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.008817, allocations: 80.27 kB / 1.004 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.008953, allocations: 88.33 kB / 1.004 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008955, allocations: 0 / 1.004 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000334/0.009289, allocations: 184.9 kB / 1.004 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.739e-05/0.009346, allocations: 37.64 kB / 1.004 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.009352, allocations: 0 / 1.004 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.009368, allocations: 64 / 1.004 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.009428, allocations: 11.94 kB / 1.004 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.009433, allocations: 0 / 1.004 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.009635, allocations: 23.97 kB / 1.004 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.009661, allocations: 11.98 kB / 1.004 GB, free: 2.828 MB / 0.9512 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 9.915e-05/0.00976, allocations: 114.4 kB / 1.004 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.009771, allocations: 4.188 kB / 1.004 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.009807, allocations: 19.88 kB / 1.004 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.00981, allocations: 3.984 kB / 1.004 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.009814, allocations: 4 kB / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.009819, allocations: 3.984 kB / 1.004 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.009921, allocations: 109.3 kB / 1.004 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.009922, allocations: 0 / 1.004 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.63e-05/0.009938, allocations: 3.984 kB / 1.004 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.009939, allocations: 0 / 1.004 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.009949, allocations: 4 kB / 1.004 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.009954, allocations: 3.938 kB / 1.004 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.009955, allocations: 0 / 1.004 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.01008, allocations: 81.06 kB / 1.005 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.01009, allocations: 7.953 kB / 1.005 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.01011, allocations: 11.98 kB / 1.005 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.636e-05/0.01013, allocations: 3.938 kB / 1.005 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.01017, allocations: 4 kB / 1.005 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.01018, allocations: 0 / 1.005 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.412e-05/0.01023, allocations: 87.27 kB / 1.005 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.01023, allocations: 0 / 1.005 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002107/0.01044, allocations: 16 kB / 1.005 GB, free: 2.293 MB / 0.9512 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.0001668/0.01061, allocations: 110.8 kB / 1.005 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.01086, allocations: 149.1 kB / 1.005 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01086, allocations: 4.062 kB / 1.005 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.432e-05/0.0109, allocations: 12 kB / 1.005 GB, free: 2 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.0111, allocations: 7.984 kB / 1.005 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.01141, allocations: 124.9 kB / 1.005 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.228e-05/0.01148, allocations: 67.34 kB / 1.005 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.278e-05/0.0115, allocations: 7.984 kB / 1.005 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.919e-05/0.01152, allocations: 8.5 kB / 1.005 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of SimCode: time 4.61e-07/0.01152, allocations: 4 kB / 1.005 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of Templates: time 0.004382/0.0159, allocations: 1.174 MB / 1.006 GB, free: 0.5898 MB / 0.9512 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: 8.500882551074028]