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.000947/0.000947, allocations: 84.8 kB / 20.75 MB, free: 3.738 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.001422/0.001422, allocations: 161 kB / 24.16 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 0.9422/0.9422, allocations: 177.2 MB / 204.6 MB, free: 5.465 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.893/1.893, allocations: 377.9 MB / 0.624 GB, free: 8.328 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.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 1.443e-06/1.443e-06, allocations: 0 / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.764e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001045/0.001063, allocations: 0.6215 MB / 0.7607 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000681/0.001744, allocations: 0.8372 MB / 0.7615 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.001771, allocations: 1 kB / 0.7615 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.001793, allocations: 0 / 0.7615 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.062e-05/0.001854, allocations: 1.188 kB / 0.7615 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.651e-05/0.001891, allocations: 4 kB / 0.7615 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.427e-05/0.001945, allocations: 21.59 kB / 0.7615 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.094e-05/0.001976, allocations: 0 / 0.7615 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.928e-05/0.002045, allocations: 12.92 kB / 0.7615 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.908e-05/0.002074, allocations: 12.7 kB / 0.7615 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.002089, allocations: 0 / 0.7615 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-06/0.002094, allocations: 5.078 kB / 0.7615 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.002107, allocations: 1.922 kB / 0.7615 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.321e-05/0.00212, allocations: 4 kB / 0.7615 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 5.504e-05/0.002175, allocations: 12.97 kB / 0.7616 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002177, allocations: 1.219 kB / 0.7616 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.41e-07/0.002178, allocations: 0 / 0.7616 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.594e-06/0.00218, allocations: 0 / 0.7616 GB, free: 5.059 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002297/0.00241, allocations: 231.1 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.002437, allocations: 8.031 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.837e-05/0.002455, allocations: 0.9375 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.668e-05/0.002522, allocations: 110.1 kB / 0.7619 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.002531, allocations: 0.875 kB / 0.7619 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.002539, allocations: 5.109 kB / 0.7619 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.752e-05/0.002617, allocations: 50.95 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.002622, allocations: 2 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-06/0.002628, allocations: 384 / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.002632, allocations: 384 / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.087e-05/0.002643, allocations: 8.906 kB / 0.762 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.622e-05/0.002709, allocations: 61.05 kB / 0.762 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.322e-05/0.002742, allocations: 19.3 kB / 0.762 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.088e-05/0.002753, allocations: 5.734 kB / 0.762 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.002759, allocations: 5.016 kB / 0.762 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.002776, allocations: 30.56 kB / 0.7621 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.002778, allocations: 0.875 kB / 0.7621 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 6.93e-05/0.002847, allocations: 37.64 kB / 0.7621 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.002872, allocations: 52.62 kB / 0.7622 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.182e-05/0.002924, allocations: 106.7 kB / 0.7623 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.002933, allocations: 25.7 kB / 0.7623 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.809e-05/0.002951, allocations: 81.94 kB / 0.7624 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.002967, allocations: 4 kB / 0.7624 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.922e-05/0.002986, allocations: 13.72 kB / 0.7624 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.499e-05/0.003051, allocations: 323.3 kB / 0.7627 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.069e-06/0.003057, allocations: 1.781 kB / 0.7627 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.003062, allocations: 0 / 0.7627 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.726e-05/0.00308, allocations: 12.84 kB / 0.7627 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.003081, allocations: 4.812 kB / 0.7627 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.801e-05/0.003109, allocations: 30.89 kB / 0.7627 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.003117, allocations: 4 kB / 0.7627 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.003121, allocations: 2.75 kB / 0.7627 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.003132, allocations: 4 kB / 0.7628 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.545e-05/0.003177, allocations: 3.984 kB / 0.7628 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.003181, allocations: 4 kB / 0.7628 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.171e-05/0.003193, allocations: 0 / 0.7628 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-06/0.003197, allocations: 1.312 kB / 0.7628 GB, free: 3.691 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: 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.412e-05/0.003241, allocations: 113.8 kB / 0.7629 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-06/0.003244, allocations: 2.469 kB / 0.7629 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.215e-05/0.003256, allocations: 3.156 kB / 0.7629 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.02e-07/0.003257, allocations: 0 / 0.7629 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.003258, allocations: 0 / 0.7629 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.003261, allocations: 3.984 kB / 0.7629 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.986e-05/0.0033, allocations: 69.78 kB / 0.7629 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.2e-07/0.003301, allocations: 0 / 0.7629 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/0.003313, allocations: 8.625 kB / 0.763 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.61e-07/0.003313, allocations: 1.031 kB / 0.763 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-06/0.003316, allocations: 3.938 kB / 0.763 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.003317, allocations: 5.203 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.5e-07/0.003317, allocations: 0.75 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.159e-05/0.003359, allocations: 63.53 kB / 0.763 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-06/0.003364, allocations: 7.953 kB / 0.763 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-06/0.00337, allocations: 0 / 0.763 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.047e-05/0.003381, allocations: 7.984 kB / 0.763 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.003401, allocations: 0 / 0.763 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.92e-07/0.003402, allocations: 0 / 0.763 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.02e-05/0.003412, allocations: 17.02 kB / 0.7631 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.003412, allocations: 2.438 kB / 0.7631 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of remove unused functions: time 8.467e-05/0.003497, allocations: 0 / 0.7631 GB, free: 3.352 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: 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.887e-05/0.003566, allocations: 84.95 kB / 0.7631 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.351e-05/0.003609, allocations: 12.8 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.003611, allocations: 1.781 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.728e-06/0.003621, allocations: 8.859 kB / 0.7632 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.577e-05/0.003696, allocations: 15.88 kB / 0.7632 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.004112, allocations: 90.58 kB / 0.7633 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.35e-05/0.004136, allocations: 55.36 kB / 0.7633 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.168e-05/0.004148, allocations: 0.9375 kB / 0.7633 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.004184, allocations: 51.38 kB / 0.7634 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.004184, allocations: 2.312 kB / 0.7634 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of Templates: time 0.00154/0.005724, allocations: 428.4 kB / 0.7638 GB, free: 2.57 MB / 0.7136 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.0422119800932705]