Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001789/0.001796, allocations: 105.7 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001989/0.001989, allocations: 191.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.507/2.507, allocations: 437.1 MB / 0.711 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 64.02 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3393, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002051/0.3414, allocations: 0.6016 MB / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009601/0.3424, allocations: 0.7846 MB / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.3424, allocations: 0 / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.3425, allocations: 3.938 kB / 1.019 GB, free: 9.215 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.039e-05/0.3425, allocations: 0 / 1.019 GB, free: 9.215 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.369e-05/0.3426, allocations: 4 kB / 1.019 GB, free: 9.211 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.38e-05/0.3427, allocations: 19.92 kB / 1.019 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.982e-05/0.3428, allocations: 4 kB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.062e-05/0.3428, allocations: 11.98 kB / 1.019 GB, free: 9.176 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/0.3429, allocations: 11.92 kB / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.3429, allocations: 0 / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.3429, allocations: 4 kB / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.3429, allocations: 4 kB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.3429, allocations: 3.938 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.284e-05/0.343, allocations: 15.97 kB / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.343, allocations: 0 / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.422e-06/0.343, allocations: 0 / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.3431, allocations: 0 / 1.019 GB, free: 9.137 MB / 0.795 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.0005186/0.3436, allocations: 339.5 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3436, allocations: 12.92 kB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.3437, allocations: 0.9375 kB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.3438, allocations: 168.5 kB / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3438, allocations: 4.312 kB / 1.02 GB, free: 8.535 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.3439, allocations: 384 / 1.02 GB, free: 8.535 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.344, allocations: 50.17 kB / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3441, allocations: 192 / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3441, allocations: 7.938 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3441, allocations: 0 / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.3442, allocations: 27.97 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.3445, allocations: 161.6 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.3446, allocations: 34.55 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.185e-05/0.3447, allocations: 24.84 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.3447, allocations: 0 / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.3447, allocations: 34.56 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.3447, allocations: 0 / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0003441/0.3451, allocations: 73.58 kB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.3452, allocations: 59.53 kB / 1.02 GB, free: 7.977 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.3452, allocations: 97.86 kB / 1.02 GB, free: 7.871 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.3453, allocations: 25.7 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.3453, allocations: 84.14 kB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.3454, allocations: 3.984 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.3454, allocations: 13.72 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3456, allocations: 310.8 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-05/0.3457, allocations: 19.92 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.022e-05/0.3457, allocations: 15.98 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.3459, allocations: 36.81 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3459, allocations: 0 / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001853/0.3461, allocations: 61.58 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3461, allocations: 8.094 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3461, allocations: 7.938 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3462, allocations: 192 / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.3462, allocations: 7.984 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3463, allocations: 0 / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.3463, allocations: 7.984 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.3463, allocations: 0 / 1.021 GB, free: 7.246 MB / 0.795 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 8.182e-05/0.3464, allocations: 109.8 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.3464, allocations: 7.984 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.3465, allocations: 11.06 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.3465, allocations: 0 / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3465, allocations: 0 / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.3465, allocations: 0 / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.3466, allocations: 153.7 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3466, allocations: 3.984 kB / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.989e-05/0.3467, allocations: 4 kB / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.3467, allocations: 3.938 kB / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.3467, allocations: 7.875 kB / 1.021 GB, free: 6.891 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3467, allocations: 4 kB / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3467, allocations: 4 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.3469, allocations: 81.09 kB / 1.021 GB, free: 6.785 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.347, allocations: 77.11 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.347, allocations: 7.938 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.601e-05/0.3471, allocations: 7.984 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.3471, allocations: 7.969 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.3471, allocations: 8 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.091e-05/0.3472, allocations: 79.27 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3472, allocations: 0 / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001838/0.3474, allocations: 4 kB / 1.022 GB, free: 6.578 MB / 0.795 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.0001443/0.3475, allocations: 99.25 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.3477, allocations: 31.97 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3477, allocations: 0 / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.709e-05/0.3478, allocations: 23.97 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.348, allocations: 2.656 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.3484, allocations: 123.2 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.3487, allocations: 0.6768 MB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.3487, allocations: 11.44 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3487, allocations: 0 / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of Templates: time 0.002569/0.3513, allocations: 0.497 MB / 1.023 GB, free: 5.055 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches