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.001326/0.001326, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001521/0.001521, allocations: 181 kB / 24.09 MB, free: 416 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.9996/0.9996, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.909/1.909, allocations: 377.9 MB / 0.624 GB, free: 8.41 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.014e-06/2.014e-06, allocations: 0 / 0.812 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.568e-05, allocations: 2.312 kB / 0.812 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001424/0.001449, allocations: 0.6412 MB / 0.8126 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000925/0.002374, allocations: 0.8596 MB / 0.8134 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.002421, allocations: 1.656 kB / 0.8134 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.00245, allocations: 0 / 0.8134 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.934e-05/0.002539, allocations: 11.92 kB / 0.8135 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.002684, allocations: 11.88 kB / 0.8135 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.399e-05/0.002748, allocations: 29.45 kB / 0.8135 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.318e-05/0.002831, allocations: 7.984 kB / 0.8135 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.315e-05/0.002914, allocations: 15.98 kB / 0.8135 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.947e-05/0.002963, allocations: 11.92 kB / 0.8135 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.002984, allocations: 1.188 kB / 0.8135 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.697e-06/0.002992, allocations: 4 kB / 0.8135 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.003012, allocations: 7.938 kB / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.00304, allocations: 11.98 kB / 0.8136 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.742e-05/0.003127, allocations: 17.31 kB / 0.8136 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.00313, allocations: 0 / 0.8136 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003131, allocations: 0 / 0.8136 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.003134, allocations: 0.5312 kB / 0.8136 GB, free: 15.88 MB / 0.7761 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.0003597/0.003494, allocations: 357.4 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.003535, allocations: 8.031 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.003568, allocations: 9.422 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.986e-05/0.003648, allocations: 108.6 kB / 0.814 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.003668, allocations: 1.969 kB / 0.814 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.003676, allocations: 4.375 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.003799, allocations: 58.94 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.003807, allocations: 4.75 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.003814, allocations: 384 / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.00382, allocations: 5.219 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.497e-05/0.003845, allocations: 7.938 kB / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.004079, allocations: 233.1 kB / 0.8143 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.731e-05/0.004126, allocations: 35.64 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.004142, allocations: 13.06 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.004157, allocations: 0 / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.004184, allocations: 49.39 kB / 0.8144 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.004184, allocations: 0 / 0.8144 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001165/0.004301, allocations: 47.33 kB / 0.8145 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.004327, allocations: 55.41 kB / 0.8145 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.491e-05/0.004392, allocations: 161.9 kB / 0.8147 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.004402, allocations: 25.7 kB / 0.8147 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.00444, allocations: 129.2 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.004455, allocations: 3.953 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.004481, allocations: 23.38 kB / 0.8149 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.004595, allocations: 0.4884 MB / 0.8153 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/0.004608, allocations: 4 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.011e-05/0.004618, allocations: 7.312 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.843e-05/0.004646, allocations: 15.69 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.004648, allocations: 0 / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.141e-05/0.004699, allocations: 41.69 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.00471, allocations: 4 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.004714, allocations: 0 / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.004727, allocations: 7.938 kB / 0.8154 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.415e-05/0.004791, allocations: 4.969 kB / 0.8154 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.004795, allocations: 3.984 kB / 0.8154 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.004814, allocations: 4 kB / 0.8154 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-06/0.004817, allocations: 0.5 kB / 0.8154 GB, free: 13.8 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 0.0003191/0.005136, allocations: 157.1 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.00515, allocations: 4.562 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.889e-05/0.005169, allocations: 4.438 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.005172, allocations: 3.938 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.005174, allocations: 0 / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.005176, allocations: 0.8125 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.586e-05/0.005262, allocations: 101.2 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005263, allocations: 0 / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.005285, allocations: 10.09 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.005287, allocations: 7.984 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-06/0.005291, allocations: 0 / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.005291, allocations: 0 / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005292, allocations: 0 / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.975e-05/0.005392, allocations: 192.6 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-06/0.005398, allocations: 0 / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-06/0.005406, allocations: 0.9375 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.468e-05/0.00544, allocations: 11.94 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.005476, allocations: 5.203 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.00548, allocations: 7.938 kB / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.217e-05/0.005513, allocations: 123.2 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005513, allocations: 0.9688 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001295/0.005642, allocations: 8 kB / 0.816 GB, free: 13.13 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 8.735e-05/0.00573, allocations: 103 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.363e-05/0.005793, allocations: 16.62 kB / 0.8161 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.005795, allocations: 0 / 0.8161 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.978e-05/0.005815, allocations: 16.72 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.00599, allocations: 7.984 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002018/0.006192, allocations: 107.5 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.019e-05/0.006222, allocations: 64.42 kB / 0.8163 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.936e-05/0.006241, allocations: 0.9375 kB / 0.8163 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.006289, allocations: 78.19 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.00629, allocations: 0 / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of Templates: time 0.002148/0.008438, allocations: 0.7018 MB / 0.8171 GB, free: 12 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.157380376942456]