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.001384/0.001384, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001018/0.001018, allocations: 169 kB / 24.28 MB, free: 272 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/1, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.926/1.926, allocations: 377.8 MB / 0.6239 GB, free: 8.586 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.423e-06/1.423e-06, allocations: 0 / 0.8115 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.558e-05, allocations: 8.234 kB / 0.8115 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001091/0.001106, allocations: 0.6711 MB / 0.8122 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000723/0.001829, allocations: 0.8798 MB / 0.813 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.00186, allocations: 4 kB / 0.813 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.234e-05/0.001883, allocations: 3.938 kB / 0.813 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.947e-05/0.001942, allocations: 0 / 0.813 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.002064, allocations: 25.45 kB / 0.8131 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.535e-05/0.002129, allocations: 47.91 kB / 0.8131 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 7.918e-05/0.002208, allocations: 11.97 kB / 0.8131 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.747e-05/0.002276, allocations: 27.92 kB / 0.8131 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.274e-05/0.002319, allocations: 17.64 kB / 0.8132 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.002337, allocations: 4 kB / 0.8132 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.374e-06/0.002344, allocations: 4 kB / 0.8132 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.002361, allocations: 15.91 kB / 0.8132 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.002384, allocations: 12.58 kB / 0.8132 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.473e-05/0.002458, allocations: 39.83 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.00246, allocations: 1.312 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of FrontEnd: time 3.7e-07/0.00246, allocations: 0 / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.002464, allocations: 0 / 0.8132 GB, free: 356 kB / 0.7605 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.000353/0.002817, allocations: 369.7 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.002853, allocations: 11.97 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.002887, allocations: 8.891 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.465e-05/0.002982, allocations: 114 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.002998, allocations: 384 / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.003007, allocations: 4.375 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.003126, allocations: 68.55 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.599e-06/0.003131, allocations: 192 / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.003139, allocations: 384 / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.003146, allocations: 4.375 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.246e-05/0.003188, allocations: 21.27 kB / 0.8138 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002806/0.003469, allocations: 275.7 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.226e-05/0.003561, allocations: 47.55 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.003592, allocations: 20.28 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.003606, allocations: 4 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.003625, allocations: 39.27 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.003626, allocations: 3.938 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001434/0.003769, allocations: 53.69 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.003794, allocations: 51.41 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.497e-05/0.003859, allocations: 168.2 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.003869, allocations: 29.7 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.003929, allocations: 146.7 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.003945, allocations: 7.953 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.003976, allocations: 19.38 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.0041, allocations: 0.4923 MB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.952e-05/0.004119, allocations: 4.719 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.532e-05/0.004135, allocations: 4 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.249e-05/0.004177, allocations: 28.14 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.004179, allocations: 1.094 kB / 0.8152 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.343e-05/0.004253, allocations: 53.97 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.004264, allocations: 12.53 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.004268, allocations: 0 / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.00428, allocations: 1.188 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.292e-05/0.004353, allocations: 11.98 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.004358, allocations: 4.844 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.004381, allocations: 4 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.004388, allocations: 9.594 kB / 0.8152 GB, free: 14.09 MB / 0.7761 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 6.156e-05/0.00445, allocations: 160.5 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.004472, allocations: 7.938 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.004494, allocations: 8 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.004495, allocations: 0.9062 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.0045, allocations: 4 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.004503, allocations: 2.156 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.754e-05/0.004601, allocations: 124.6 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.004601, allocations: 0 / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.004634, allocations: 11.98 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.004636, allocations: 0 / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.004644, allocations: 3.938 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.004644, allocations: 2.188 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.004645, allocations: 0 / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.004759, allocations: 203.9 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-06/0.004765, allocations: 0 / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.004775, allocations: 3.938 kB / 0.8158 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.732e-05/0.004812, allocations: 9.062 kB / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.004859, allocations: 15.97 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.004863, allocations: 0 / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.704e-05/0.0049, allocations: 131.1 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.0049, allocations: 1.125 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000139/0.005039, allocations: 11.95 kB / 0.8159 GB, free: 13.34 MB / 0.7761 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.577e-05/0.005105, allocations: 104 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.265e-05/0.005187, allocations: 29.36 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.005188, allocations: 0 / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.017e-05/0.005218, allocations: 23.62 kB / 0.8161 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.00539, allocations: 12.47 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.005635, allocations: 131.6 kB / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.156e-05/0.005666, allocations: 59.34 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.977e-05/0.005696, allocations: 5.75 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.005731, allocations: 21.08 kB / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.005731, allocations: 0 / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of Templates: time 0.002262/0.007993, allocations: 0.9597 MB / 0.8172 GB, free: 11.97 MB / 0.7761 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.17937015206553]