Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001726/0.001726, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.002275/0.002275, allocations: 220 kB / 23 MB, free: 4.914 MB / 14.72 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 1.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.719/2.719, allocations: 476 MB / 0.7707 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 63.88 kB / 1.118 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3375, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001774/0.3393, allocations: 0.6016 MB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009863/0.3403, allocations: 0.8043 MB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.67e-05/0.3403, allocations: 0 / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.3403, allocations: 3.938 kB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.21e-05/0.3404, allocations: 4 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.843e-05/0.3404, allocations: 7.984 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.66e-05/0.3405, allocations: 19.94 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.3405, allocations: 4.094 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.873e-05/0.3406, allocations: 11.92 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.043e-05/0.3406, allocations: 4 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.3406, allocations: 4 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.42e-06/0.3406, allocations: 0 / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.3407, allocations: 7.969 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.3407, allocations: 3.938 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.071e-05/0.3407, allocations: 11.98 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3407, allocations: 0 / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.013e-05/0.3408, allocations: 8 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.3408, allocations: 0 / 1.285 GB, free: 10.41 MB / 0.9825 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.00043/0.3412, allocations: 262.3 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.3412, allocations: 8.031 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.3412, allocations: 0.9375 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.3414, allocations: 122.4 kB / 1.286 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.3414, allocations: 384 / 1.286 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.383e-06/0.3414, allocations: 384 / 1.286 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.3415, allocations: 46.25 kB / 1.286 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.3415, allocations: 4.188 kB / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.3416, allocations: 3.938 kB / 1.286 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.3416, allocations: 0 / 1.286 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.3417, allocations: 31.95 kB / 1.286 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.3419, allocations: 105.3 kB / 1.286 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.342, allocations: 34.5 kB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.243e-05/0.342, allocations: 20.89 kB / 1.286 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.3421, allocations: 7.938 kB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.3421, allocations: 34.56 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3421, allocations: 0 / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003138/0.3424, allocations: 73.59 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.3425, allocations: 55.41 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.3425, allocations: 101.8 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.3426, allocations: 25.7 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.3426, allocations: 84.27 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.3426, allocations: 7.953 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.3427, allocations: 13.72 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3428, allocations: 314.8 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.074e-05/0.3429, allocations: 15.98 kB / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.719e-05/0.343, allocations: 11.98 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.3431, allocations: 36.83 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3431, allocations: 4.062 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001931/0.3433, allocations: 61.66 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3433, allocations: 4 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.3433, allocations: 0 / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3433, allocations: 3.938 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.207e-05/0.3434, allocations: 11.92 kB / 1.287 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3434, allocations: 0 / 1.287 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.914e-05/0.3435, allocations: 4 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/0.3435, allocations: 8.031 kB / 1.287 GB, free: 8.746 MB / 0.9825 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 0.0001031/0.3436, allocations: 109.8 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/0.3436, allocations: 0 / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.3436, allocations: 11.16 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.3436, allocations: 3.938 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3436, allocations: 0 / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3436, allocations: 0 / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.3437, allocations: 101.3 kB / 1.287 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3437, allocations: 0 / 1.287 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.173e-05/0.3438, allocations: 4 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3438, allocations: 4 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.3438, allocations: 3.938 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3438, allocations: 0 / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3438, allocations: 3.938 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.344, allocations: 92.98 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.344, allocations: 4 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.344, allocations: 0 / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.368e-05/0.3441, allocations: 7.984 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.3441, allocations: 8.156 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3441, allocations: 4 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.729e-05/0.3442, allocations: 87.19 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3442, allocations: 0 / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000177/0.3443, allocations: 4 kB / 1.287 GB, free: 8.25 MB / 0.9825 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 0.0001211/0.3445, allocations: 95.25 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.3447, allocations: 31.97 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3447, allocations: 0 / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.022e-05/0.3448, allocations: 23.97 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.345, allocations: 8.062 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.3453, allocations: 134.1 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.155e-05/0.3453, allocations: 55.36 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.3454, allocations: 7.438 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3454, allocations: 0 / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of Templates: time 0.001884/0.3472, allocations: 0.4919 MB / 1.288 GB, free: 7.359 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.93183144601062]