Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.001423/0.001423, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001696/0.001696, allocations: 165 kB / 24.17 MB, free: 328 kB / 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.9911/0.9911, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.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.915/1.915, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 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.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.521e-05, allocations: 2.312 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.00117/0.001185, allocations: 0.6804 MB / 0.7607 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007905/0.001975, allocations: 0.8733 MB / 0.7615 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.002014, allocations: 0.5312 kB / 0.7615 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.002039, allocations: 3.938 kB / 0.7615 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.685e-05/0.002116, allocations: 14.56 kB / 0.7615 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.002232, allocations: 23.92 kB / 0.7615 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.111e-05/0.002303, allocations: 42.16 kB / 0.7616 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.266e-05/0.002376, allocations: 11.98 kB / 0.7616 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.095e-05/0.002457, allocations: 34.92 kB / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.659e-05/0.002503, allocations: 17.5 kB / 0.7616 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.002524, allocations: 4 kB / 0.7616 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-06/0.002533, allocations: 4 kB / 0.7617 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.681e-05/0.002559, allocations: 19.08 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.002579, allocations: 9.531 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.613e-05/0.002655, allocations: 34.95 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002657, allocations: 0 / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002657, allocations: 1.781 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.635e-06/0.00266, allocations: 0 / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002886/0.002949, allocations: 240.9 kB / 0.7619 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.002979, allocations: 12.03 kB / 0.762 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.391e-05/0.003002, allocations: 6.156 kB / 0.762 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.334e-05/0.003086, allocations: 114.4 kB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.003102, allocations: 384 / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.003114, allocations: 8.312 kB / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.003218, allocations: 68.58 kB / 0.7621 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.003224, allocations: 192 / 0.7621 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.003231, allocations: 384 / 0.7621 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.003236, allocations: 2.219 kB / 0.7621 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.715e-05/0.003263, allocations: 15.92 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.003479, allocations: 164.8 kB / 0.7623 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.423e-05/0.003543, allocations: 39.23 kB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.003561, allocations: 13.97 kB / 0.7624 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.003573, allocations: 4 kB / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.003594, allocations: 34.56 kB / 0.7624 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.003595, allocations: 1.062 kB / 0.7624 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001089/0.003704, allocations: 49.62 kB / 0.7625 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.003736, allocations: 56 kB / 0.7625 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.344e-05/0.003789, allocations: 111.4 kB / 0.7626 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.003799, allocations: 26.77 kB / 0.7626 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.066e-05/0.00383, allocations: 92.02 kB / 0.7627 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.003845, allocations: 16.81 kB / 0.7627 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.003872, allocations: 18.56 kB / 0.7628 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.215e-05/0.003944, allocations: 318.8 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/0.003957, allocations: 5.156 kB / 0.7631 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.201e-05/0.003969, allocations: 4 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.643e-05/0.004005, allocations: 23.59 kB / 0.7631 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.004007, allocations: 0 / 0.7631 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.193e-05/0.004059, allocations: 45.62 kB / 0.7631 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.004069, allocations: 8.641 kB / 0.7632 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.004073, allocations: 0 / 0.7632 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.004086, allocations: 3.938 kB / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.00415, allocations: 12 kB / 0.7632 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.004153, allocations: 2.5 kB / 0.7632 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.28e-05/0.004176, allocations: 7.984 kB / 0.7632 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.004182, allocations: 0.9844 kB / 0.7632 GB, free: 3.273 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.062e-05/0.004232, allocations: 109.8 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.004245, allocations: 256 / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.949e-05/0.004264, allocations: 12 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.004266, allocations: 4.531 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.004269, allocations: 5.062 kB / 0.7633 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.004272, allocations: 3.984 kB / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.218e-05/0.004355, allocations: 73.84 kB / 0.7634 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.004355, allocations: 2.438 kB / 0.7634 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.714e-05/0.004383, allocations: 12.53 kB / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.004384, allocations: 0 / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-06/0.004388, allocations: 0 / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.6e-07/0.004388, allocations: 0 / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.00439, allocations: 4 kB / 0.7634 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.634e-05/0.004466, allocations: 153.8 kB / 0.7635 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-06/0.004473, allocations: 4 kB / 0.7635 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-06/0.004481, allocations: 0 / 0.7635 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.212e-05/0.004523, allocations: 7.984 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.004559, allocations: 12.3 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.004562, allocations: 4 kB / 0.7636 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.031e-05/0.004573, allocations: 8.859 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004573, allocations: 1.812 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001158/0.004689, allocations: 7.938 kB / 0.7636 GB, free: 2.812 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: 1 (reaToInt1.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): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 6.89e-05/0.004757, allocations: 84.41 kB / 0.7637 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.985e-05/0.004817, allocations: 25.81 kB / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.00482, allocations: 4 kB / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.272e-05/0.004843, allocations: 21.78 kB / 0.7637 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.00497, allocations: 11.92 kB / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002049/0.005175, allocations: 139.2 kB / 0.7639 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.021e-05/0.005206, allocations: 55.34 kB / 0.7639 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.558e-05/0.005231, allocations: 6.438 kB / 0.7639 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.005281, allocations: 55.38 kB / 0.764 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.005281, allocations: 0 / 0.764 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of Templates: time 0.002172/0.007453, allocations: 0.967 MB / 0.7649 GB, free: 1.441 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.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: 5.029430706053972]