Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009436/0.0009436, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009663/0.0009663, allocations: 169 kB / 24.06 MB, free: 456 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.9724/0.9724, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.101/2.101, allocations: 429.5 MB / 0.6743 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.8794 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.666e-05, allocations: 2.859 kB / 0.8794 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001336/0.001363, allocations: 0.628 MB / 0.88 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007838/0.002146, allocations: 0.8338 MB / 0.8809 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.461e-05/0.002171, allocations: 0 / 0.8809 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.002196, allocations: 1.094 kB / 0.8809 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.663e-05/0.002263, allocations: 2.219 kB / 0.8809 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.052e-05/0.002303, allocations: 4 kB / 0.8809 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.327e-05/0.002366, allocations: 20.36 kB / 0.8809 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.002407, allocations: 1.062 kB / 0.8809 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.307e-05/0.00248, allocations: 19.91 kB / 0.8809 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.207e-05/0.002512, allocations: 11.94 kB / 0.8809 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.002527, allocations: 1 kB / 0.8809 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.859e-06/0.002532, allocations: 0 / 0.8809 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.002545, allocations: 4.594 kB / 0.8809 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.537e-05/0.002561, allocations: 3.984 kB / 0.8809 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 6.499e-05/0.002626, allocations: 8.594 kB / 0.8809 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002628, allocations: 0 / 0.8809 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.12e-07/0.002628, allocations: 0.7812 kB / 0.8809 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.002633, allocations: 0 / 0.8809 GB, free: 4.449 MB / 0.8386 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.000286/0.002919, allocations: 357.5 kB / 0.8813 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.002954, allocations: 12.03 kB / 0.8813 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.975e-05/0.002974, allocations: 1.812 kB / 0.8813 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.929e-05/0.003043, allocations: 108.6 kB / 0.8814 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.003052, allocations: 1.469 kB / 0.8814 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-06/0.003057, allocations: 384 / 0.8814 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.542e-05/0.003142, allocations: 47.92 kB / 0.8814 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.003148, allocations: 192 / 0.8814 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.003154, allocations: 384 / 0.8814 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.003158, allocations: 9.844 kB / 0.8815 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.247e-05/0.00317, allocations: 7.875 kB / 0.8815 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.472e-05/0.003265, allocations: 105.2 kB / 0.8816 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.438e-05/0.003299, allocations: 27.05 kB / 0.8816 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.003313, allocations: 8.656 kB / 0.8816 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.501e-06/0.003319, allocations: 0 / 0.8816 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.003336, allocations: 38.2 kB / 0.8816 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.814e-06/0.003338, allocations: 3.984 kB / 0.8816 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001012/0.003439, allocations: 37.17 kB / 0.8817 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.003471, allocations: 51.41 kB / 0.8817 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.793e-05/0.003539, allocations: 157.9 kB / 0.8819 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.003551, allocations: 25.7 kB / 0.8819 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.003586, allocations: 134.9 kB / 0.882 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.003613, allocations: 4 kB / 0.882 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.003642, allocations: 15.38 kB / 0.882 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.003777, allocations: 0.4883 MB / 0.8825 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/0.003788, allocations: 0 / 0.8825 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-06/0.003795, allocations: 0.625 kB / 0.8825 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.511e-05/0.00382, allocations: 15.88 kB / 0.8825 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.003822, allocations: 3.938 kB / 0.8825 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.793e-05/0.00387, allocations: 33.69 kB / 0.8826 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.003882, allocations: 4 kB / 0.8826 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.003888, allocations: 4 kB / 0.8826 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/0.003895, allocations: 0 / 0.8826 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.704e-05/0.003952, allocations: 4 kB / 0.8826 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.003955, allocations: 0 / 0.8826 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.003971, allocations: 3.984 kB / 0.8826 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.003976, allocations: 7.969 kB / 0.8826 GB, free: 2.562 MB / 0.8386 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 5.924e-05/0.004036, allocations: 156.6 kB / 0.8827 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-06/0.004042, allocations: 3.953 kB / 0.8827 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.897e-05/0.004061, allocations: 7.156 kB / 0.8828 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.004062, allocations: 0 / 0.8828 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.004064, allocations: 4 kB / 0.8828 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.004067, allocations: 0 / 0.8828 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.139e-05/0.004129, allocations: 105.1 kB / 0.8829 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.004131, allocations: 4 kB / 0.8829 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/0.004147, allocations: 7.938 kB / 0.8829 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.004148, allocations: 4 kB / 0.8829 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.004152, allocations: 3.938 kB / 0.8829 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.31e-07/0.004153, allocations: 4 kB / 0.8829 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.004154, allocations: 0 / 0.8829 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.278e-05/0.004217, allocations: 68.38 kB / 0.8829 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.004224, allocations: 4 kB / 0.8829 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-06/0.004231, allocations: 0 / 0.8829 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.134e-05/0.004242, allocations: 4 kB / 0.883 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.004269, allocations: 4 kB / 0.883 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.004271, allocations: 0 / 0.883 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.326e-05/0.004304, allocations: 127.2 kB / 0.8831 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004304, allocations: 4 kB / 0.8831 GB, free: 2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001116/0.004416, allocations: 0 / 0.8831 GB, free: 2 MB / 0.8386 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 8.253e-05/0.004498, allocations: 95.25 kB / 0.8832 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.611e-05/0.004564, allocations: 15.62 kB / 0.8832 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-06/0.004566, allocations: 0 / 0.8832 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/0.004578, allocations: 7.688 kB / 0.8832 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.00473, allocations: 16.55 kB / 0.8832 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002057/0.004936, allocations: 98.69 kB / 0.8833 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.512e-05/0.004971, allocations: 55.34 kB / 0.8834 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.429e-05/0.004986, allocations: 0 / 0.8834 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.005027, allocations: 70.2 kB / 0.8834 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/0.005027, allocations: 0 / 0.8834 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of Templates: time 0.001965/0.006992, allocations: 0.5058 MB / 0.8839 GB, free: 1.086 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.402526589110494]