Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.0009181/0.0009181, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009156/0.0009156, allocations: 169 kB / 24.28 MB, free: 284 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.9737/0.9737, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.892/1.892, allocations: 377.8 MB / 0.6239 GB, free: 8.562 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.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.658e-05, allocations: 3.406 kB / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001355/0.001382, allocations: 0.6402 MB / 0.8121 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.00219, allocations: 0.8556 MB / 0.813 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.002222, allocations: 0.7812 kB / 0.813 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.002246, allocations: 3.938 kB / 0.813 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.495e-05/0.002311, allocations: 9.609 kB / 0.813 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.002459, allocations: 15.92 kB / 0.813 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.116e-05/0.002531, allocations: 27.92 kB / 0.813 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.337e-05/0.002614, allocations: 4 kB / 0.813 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.671e-05/0.002691, allocations: 15.98 kB / 0.813 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.313e-05/0.002734, allocations: 21.44 kB / 0.8131 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.002755, allocations: 0 / 0.8131 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-06/0.002764, allocations: 4 kB / 0.8131 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.00278, allocations: 3.938 kB / 0.8131 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.002802, allocations: 8.5 kB / 0.8131 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.421e-05/0.002876, allocations: 17.56 kB / 0.8131 GB, free: 484 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.002879, allocations: 4 kB / 0.8131 GB, free: 480 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002879, allocations: 0 / 0.8131 GB, free: 480 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.002883, allocations: 0 / 0.8131 GB, free: 480 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003491/0.003233, allocations: 354.3 kB / 0.8134 GB, free: 88 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.003273, allocations: 8.031 kB / 0.8134 GB, free: 80 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.003312, allocations: 8.938 kB / 0.8135 GB, free: 72 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.003412, allocations: 116.5 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.00343, allocations: 0.9688 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.003438, allocations: 4.375 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.003562, allocations: 51.58 kB / 0.8136 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.003569, allocations: 8.812 kB / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.003578, allocations: 4.375 kB / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.003586, allocations: 1.469 kB / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.35e-05/0.00362, allocations: 11.92 kB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.003894, allocations: 251.8 kB / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.296e-05/0.003947, allocations: 28.44 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.003969, allocations: 15.75 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.00398, allocations: 1.75 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.003999, allocations: 37.33 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.004, allocations: 0 / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001438/0.004144, allocations: 53.58 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.004174, allocations: 52.28 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.004256, allocations: 169.9 kB / 0.8142 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.004265, allocations: 26.36 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.004307, allocations: 126.9 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.004325, allocations: 4.578 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.004356, allocations: 23.38 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.004479, allocations: 496.7 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.004497, allocations: 4.562 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.174e-05/0.004509, allocations: 4.531 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.208e-05/0.004541, allocations: 21.03 kB / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004542, allocations: 0 / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.271e-05/0.004605, allocations: 40.25 kB / 0.8149 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.004618, allocations: 8 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.004624, allocations: 3.938 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.004637, allocations: 0 / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.866e-05/0.004706, allocations: 4 kB / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.004711, allocations: 0 / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.127e-05/0.004732, allocations: 11.98 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.004737, allocations: 0.5312 kB / 0.815 GB, free: 14.36 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.189e-05/0.004808, allocations: 161.2 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.004822, allocations: 0 / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.004843, allocations: 7.781 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.004845, allocations: 0.7812 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.004849, allocations: 0 / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.004852, allocations: 4.969 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.002e-05/0.004942, allocations: 120.6 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.004945, allocations: 4 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.004969, allocations: 9.172 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.004971, allocations: 0 / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.004977, allocations: 0 / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.004979, allocations: 4.781 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.00498, allocations: 0 / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.005086, allocations: 194.1 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.005091, allocations: 4 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.005102, allocations: 0 / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.687e-05/0.005139, allocations: 11.88 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.00519, allocations: 7.984 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.005193, allocations: 2.875 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.348e-05/0.005226, allocations: 123.2 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005226, allocations: 0 / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001362/0.005362, allocations: 4 kB / 0.8156 GB, free: 13.66 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 7.798e-05/0.00544, allocations: 103.2 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.673e-05/0.005517, allocations: 17.19 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.005518, allocations: 0 / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.126e-05/0.00554, allocations: 15.67 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.005712, allocations: 7.156 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.00596, allocations: 115.4 kB / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.615e-05/0.005997, allocations: 55.36 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.03e-05/0.006017, allocations: 4.641 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.006049, allocations: 18.34 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.006049, allocations: 0 / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.002465/0.008514, allocations: 0.6505 MB / 0.8166 GB, free: 12.65 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.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.085496313869953]