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.001085/0.001085, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009939/0.0009939, allocations: 165 kB / 24.17 MB, free: 336 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 1.034/1.034, allocations: 177.1 MB / 204.6 MB, free: 5.062 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.988/1.988, allocations: 377.9 MB / 0.624 GB, free: 8.32 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 5.57e-06/5.57e-06, allocations: 0 / 0.76 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.987e-05, allocations: 4.984 kB / 0.76 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001252/0.001272, allocations: 0.7187 MB / 0.7607 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000818/0.00209, allocations: 0.8845 MB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.002124, allocations: 0.7812 kB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.454e-05/0.002149, allocations: 3.938 kB / 0.7616 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.004e-05/0.002219, allocations: 3.078 kB / 0.7616 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001211/0.00234, allocations: 27.84 kB / 0.7616 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.912e-05/0.002409, allocations: 45.45 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.001e-05/0.002479, allocations: 12.62 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.711e-05/0.002556, allocations: 27.25 kB / 0.7617 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.697e-05/0.002603, allocations: 22.05 kB / 0.7617 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.00262, allocations: 7.984 kB / 0.7617 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-06/0.002629, allocations: 4 kB / 0.7617 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.002646, allocations: 6.281 kB / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.002666, allocations: 13.3 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.956e-05/0.002745, allocations: 44.16 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.002747, allocations: 0 / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.41e-07/0.002748, allocations: 0 / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.002751, allocations: 0 / 0.7618 GB, free: 4.793 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.0002715/0.003022, allocations: 241.6 kB / 0.762 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.003051, allocations: 9.375 kB / 0.762 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.003076, allocations: 12.92 kB / 0.7621 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.769e-05/0.003154, allocations: 109.8 kB / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.003168, allocations: 1.625 kB / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.003174, allocations: 4.375 kB / 0.7622 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.003277, allocations: 67.47 kB / 0.7622 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-06/0.003283, allocations: 1.438 kB / 0.7622 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.261e-06/0.00329, allocations: 384 / 0.7622 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.003295, allocations: 4.375 kB / 0.7622 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.81e-05/0.003323, allocations: 12.88 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.003533, allocations: 169 kB / 0.7624 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.83e-05/0.003591, allocations: 35.09 kB / 0.7624 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.00361, allocations: 18.03 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.138e-06/0.00362, allocations: 0 / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.003639, allocations: 34.5 kB / 0.7625 GB, free: 4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 6.72e-07/0.003639, allocations: 0.75 kB / 0.7625 GB, free: 4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001039/0.003743, allocations: 52.88 kB / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.003768, allocations: 52.06 kB / 0.7626 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.833e-05/0.003816, allocations: 111 kB / 0.7627 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.003827, allocations: 29.7 kB / 0.7627 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.003856, allocations: 96.89 kB / 0.7628 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.003871, allocations: 7.938 kB / 0.7628 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.003901, allocations: 17.72 kB / 0.7629 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.003969, allocations: 318.8 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.003983, allocations: 11.02 kB / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.22e-05/0.003995, allocations: 8.062 kB / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.119e-05/0.004026, allocations: 24.78 kB / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.004028, allocations: 0 / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.028e-05/0.004078, allocations: 43 kB / 0.7632 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.004089, allocations: 8 kB / 0.7632 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.004092, allocations: 0 / 0.7632 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.004104, allocations: 3.938 kB / 0.7632 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.004164, allocations: 13.48 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.004166, allocations: 0 / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/0.004187, allocations: 7.984 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.004193, allocations: 0.5312 kB / 0.7633 GB, free: 3.156 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.071e-05/0.004243, allocations: 110.5 kB / 0.7634 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.004259, allocations: 4 kB / 0.7634 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.674e-05/0.004276, allocations: 8.984 kB / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.004278, allocations: 3.938 kB / 0.7634 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.004279, allocations: 5.312 kB / 0.7634 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.004283, allocations: 7.984 kB / 0.7634 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.118e-05/0.004364, allocations: 77.83 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.004365, allocations: 2.438 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/0.004396, allocations: 11.98 kB / 0.7635 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.004397, allocations: 0 / 0.7635 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.004402, allocations: 4 kB / 0.7635 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.004403, allocations: 0 / 0.7635 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.004404, allocations: 3.984 kB / 0.7635 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.728e-05/0.004482, allocations: 139.5 kB / 0.7636 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.004488, allocations: 6.812 kB / 0.7636 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-06/0.004496, allocations: 4 kB / 0.7636 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.545e-05/0.004532, allocations: 3.984 kB / 0.7636 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.004569, allocations: 15.92 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.004572, allocations: 0 / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.178e-05/0.004583, allocations: 12.86 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004583, allocations: 0 / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000118/0.004701, allocations: 16.62 kB / 0.7637 GB, free: 2.688 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.357e-05/0.004765, allocations: 81.69 kB / 0.7638 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.069e-05/0.004836, allocations: 20.84 kB / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.004838, allocations: 1.406 kB / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.463e-05/0.004862, allocations: 16.8 kB / 0.7638 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.004991, allocations: 15.98 kB / 0.7638 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002102/0.005201, allocations: 133.8 kB / 0.7639 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.14e-05/0.005233, allocations: 59.34 kB / 0.764 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.005261, allocations: 6 kB / 0.764 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.443e-05/0.005315, allocations: 56.06 kB / 0.7641 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of SimCode: time 6.21e-07/0.005316, allocations: 0 / 0.7641 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.002217/0.007532, allocations: 0.9617 MB / 0.765 GB, free: 1.332 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 -s gbode -gbm=radauIIA3 -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.047090550418943]