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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001433/0.001434, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001662/0.001662, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.646/2.646, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004592, allocations: 16 kB / 0.8708 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8308/0.8313, allocations: 153.7 MB / 1.021 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.0009613/0.8323, allocations: 337.1 kB / 1.021 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009237/0.8332, allocations: 0.7768 MB / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.8333, allocations: 0 / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.8333, allocations: 0 / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-05/0.8334, allocations: 4 kB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.377e-05/0.8334, allocations: 0 / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.134e-05/0.8335, allocations: 19.91 kB / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.668e-05/0.8335, allocations: 4 kB / 1.022 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.599e-05/0.8336, allocations: 4 kB / 1.022 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.658e-05/0.8337, allocations: 7.984 kB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.8337, allocations: 0 / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.8337, allocations: 4 kB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.8337, allocations: 3.984 kB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.8337, allocations: 29.64 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.27e-05/0.8338, allocations: 11.97 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.8338, allocations: 0 / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8338, allocations: 0 / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.8338, allocations: 4 kB / 1.022 GB, free: 15.87 MB / 0.7794 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.0004479/0.8343, allocations: 335.3 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.8343, allocations: 11.98 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.8344, allocations: 0 / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.8345, allocations: 161 kB / 1.022 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.8346, allocations: 4 kB / 1.022 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.8346, allocations: 0 / 1.022 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.8348, allocations: 57.62 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.8348, allocations: 0 / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.8348, allocations: 0 / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.8348, allocations: 7.938 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.835, allocations: 39.91 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.8352, allocations: 153.7 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.8353, allocations: 34.56 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.8353, allocations: 3.938 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.8353, allocations: 42.61 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.8353, allocations: 0 / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0003381/0.8357, allocations: 93.64 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.8357, allocations: 51.41 kB / 1.023 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.517e-05/0.8358, allocations: 101.8 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.8359, allocations: 25.7 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.8359, allocations: 84.14 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.8359, allocations: 3.906 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.8359, allocations: 4 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.8361, allocations: 310.8 kB / 1.023 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.859e-05/0.8362, allocations: 24 kB / 1.023 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.488e-05/0.8363, allocations: 23.98 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.805e-05/0.8363, allocations: 20.05 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8363, allocations: 0 / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001788/0.8365, allocations: 65.67 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.8366, allocations: 15.92 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.8366, allocations: 0 / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.8366, allocations: 7.984 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.395e-05/0.8367, allocations: 8 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.8367, allocations: 0 / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.8368, allocations: 8.172 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.8368, allocations: 4 kB / 1.024 GB, free: 13.99 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.361e-05/0.8368, allocations: 105.8 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-06/0.8369, allocations: 3.984 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.8369, allocations: 11.12 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.8369, allocations: 7.953 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.8369, allocations: 3.984 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.8369, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.837, allocations: 145.7 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.837, allocations: 4 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.8371, allocations: 4 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.8371, allocations: 3.984 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.8371, allocations: 4 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8371, allocations: 4 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.8371, allocations: 3.953 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.8374, allocations: 101 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.8374, allocations: 93.03 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.8374, allocations: 3.938 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.161e-05/0.8375, allocations: 4 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.8375, allocations: 3.984 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.8375, allocations: 7.953 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.894e-05/0.8376, allocations: 75.28 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8376, allocations: 0 / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001667/0.8377, allocations: 4 kB / 1.024 GB, free: 13.31 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/0.8379, allocations: 103.2 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.8381, allocations: 39.95 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8381, allocations: 4 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.794e-05/0.8382, allocations: 24.05 kB / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.8384, allocations: 9.828 kB / 1.024 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.8387, allocations: 96.64 kB / 1.024 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.839, allocations: 0.677 MB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.086e-05/0.839, allocations: 4.062 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.839, allocations: 7.438 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.839, allocations: 0 / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of Templates: time 0.002336/0.8414, allocations: 328 kB / 1.025 GB, free: 11.97 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches