Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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.0009836/0.0009836, 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.001084/0.001084, allocations: 181 kB / 24.09 MB, free: 420 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.9391/0.9391, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.915/1.915, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0.7656 kB / 0.812 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.755e-05, allocations: 6.172 kB / 0.8121 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001287/0.001315, allocations: 0.6167 MB / 0.8127 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008059/0.00212, allocations: 0.83 MB / 0.8135 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.00215, allocations: 0 / 0.8135 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.002172, allocations: 0 / 0.8135 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.763e-05/0.00224, allocations: 9.875 kB / 0.8135 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 4.156e-05/0.002281, allocations: 7.984 kB / 0.8135 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.982e-05/0.002341, allocations: 19.92 kB / 0.8135 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.002379, allocations: 0 / 0.8135 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.405e-05/0.002463, allocations: 11.98 kB / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.156e-05/0.002495, allocations: 9.328 kB / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.002511, allocations: 4 kB / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.751e-06/0.002517, allocations: 0 / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.002532, allocations: 3.938 kB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.002553, allocations: 9.531 kB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 6.452e-05/0.002617, allocations: 7.984 kB / 0.8135 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.002619, allocations: 0 / 0.8135 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.91e-07/0.00262, allocations: 0 / 0.8135 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.002623, allocations: 2.125 kB / 0.8135 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000289/0.002912, allocations: 356.7 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.00295, allocations: 8.031 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.162e-05/0.002971, allocations: 8.891 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.365e-05/0.003045, allocations: 108.6 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.003057, allocations: 0.9062 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.003064, allocations: 4.375 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.654e-05/0.00315, allocations: 47.67 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.003157, allocations: 0.7188 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-06/0.003162, allocations: 1.938 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.003167, allocations: 384 / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.409e-05/0.003181, allocations: 15.86 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.187e-05/0.003273, allocations: 89.27 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.146e-05/0.003305, allocations: 31.62 kB / 0.8142 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.177e-05/0.003316, allocations: 9 kB / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-06/0.003323, allocations: 0 / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.003343, allocations: 37.45 kB / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.003344, allocations: 0 / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 8.327e-05/0.003427, allocations: 34.8 kB / 0.8143 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.003451, allocations: 55.39 kB / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.622e-05/0.003517, allocations: 159.3 kB / 0.8145 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.218e-06/0.003527, allocations: 25.7 kB / 0.8145 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.003559, allocations: 126.9 kB / 0.8146 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.003579, allocations: 7.953 kB / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.003601, allocations: 20.91 kB / 0.8146 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.003718, allocations: 0.4922 MB / 0.8151 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.003729, allocations: 4 kB / 0.8151 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-06/0.003736, allocations: 0.8438 kB / 0.8151 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.754e-05/0.003754, allocations: 7.688 kB / 0.8151 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.003755, allocations: 5.5 kB / 0.8151 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.68e-05/0.003792, allocations: 33.64 kB / 0.8152 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.003802, allocations: 4 kB / 0.8152 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.003807, allocations: 1.031 kB / 0.8152 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.003818, allocations: 0 / 0.8152 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.923e-05/0.003867, allocations: 7.984 kB / 0.8152 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-06/0.003869, allocations: 2.031 kB / 0.8152 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.483e-05/0.003884, allocations: 4 kB / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.003889, allocations: 3.938 kB / 0.8152 GB, free: 14 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.95e-05/0.003938, allocations: 152.6 kB / 0.8153 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-06/0.003942, allocations: 6.312 kB / 0.8153 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.003962, allocations: 7.156 kB / 0.8154 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.003966, allocations: 3.984 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.003968, allocations: 0 / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.003971, allocations: 0 / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.569e-05/0.004026, allocations: 105.1 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.004028, allocations: 4.188 kB / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.34e-05/0.004041, allocations: 4.5 kB / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.004043, allocations: 0.5312 kB / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-06/0.004047, allocations: 5.922 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.004048, allocations: 3.984 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.004049, allocations: 0 / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.374e-05/0.004103, allocations: 72.33 kB / 0.8155 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-06/0.00411, allocations: 7.953 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.752e-06/0.004117, allocations: 0.9688 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.065e-05/0.004127, allocations: 3.984 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.004152, allocations: 8.719 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-06/0.004153, allocations: 0 / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.823e-05/0.004182, allocations: 120.2 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004182, allocations: 0 / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001134/0.004295, allocations: 4 kB / 0.8157 GB, free: 13.45 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.819e-05/0.004363, allocations: 102.5 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.655e-05/0.00442, allocations: 19.56 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.004421, allocations: 0 / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.171e-05/0.004433, allocations: 7.688 kB / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.004556, allocations: 7.938 kB / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002019/0.004758, allocations: 100.9 kB / 0.8159 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.82e-05/0.004786, allocations: 51.36 kB / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.419e-05/0.0048, allocations: 0 / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.004845, allocations: 70.2 kB / 0.816 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.004845, allocations: 0.9375 kB / 0.816 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of Templates: time 0.00172/0.006565, allocations: 0.4934 MB / 0.8165 GB, free: 12.55 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.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.047214308287948]