Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 99.62 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.001325/0.001325, allocations: 177.3 kB / 15.95 MB, free: 216 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.349/1.349, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 390.2 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003498, allocations: 12 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6394/0.6398, allocations: 142.3 MB / 0.9535 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.000575/0.6404, allocations: 326.3 kB / 0.9539 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005949/0.641, allocations: 0.7827 MB / 0.9546 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.656e-05/0.641, allocations: 0 / 0.9546 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.273e-05/0.6411, allocations: 0 / 0.9546 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.409e-05/0.6411, allocations: 3.984 kB / 0.9546 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.095e-05/0.6412, allocations: 9.156 kB / 0.9546 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.859e-05/0.6412, allocations: 10.73 kB / 0.9546 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.6412, allocations: 1.188 kB / 0.9546 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.613e-05/0.6413, allocations: 7.562 kB / 0.9546 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.526e-05/0.6413, allocations: 13.09 kB / 0.9547 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.6413, allocations: 1.031 kB / 0.9547 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.13e-06/0.6414, allocations: 1.219 kB / 0.9547 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.345e-06/0.6414, allocations: 5.094 kB / 0.9547 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.211e-05/0.6414, allocations: 25.7 kB / 0.9547 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.715e-05/0.6414, allocations: 15.44 kB / 0.9547 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.6414, allocations: 0 / 0.9547 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6414, allocations: 0 / 0.9547 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.454e-06/0.6414, allocations: 0 / 0.9547 GB, free: 7.09 MB / 0.7169 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.0002935/0.6417, allocations: 338.8 kB / 0.955 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.6418, allocations: 9.281 kB / 0.955 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.6418, allocations: 5.422 kB / 0.955 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.134e-05/0.6419, allocations: 166.5 kB / 0.9552 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.6419, allocations: 0 / 0.9552 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.6419, allocations: 0 / 0.9552 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.6421, allocations: 51.77 kB / 0.9553 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.6421, allocations: 1.031 kB / 0.9553 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.6421, allocations: 0 / 0.9553 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.6421, allocations: 0 / 0.9553 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.6422, allocations: 41.7 kB / 0.9553 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.985e-05/0.6424, allocations: 160.7 kB / 0.9554 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.6425, allocations: 36.69 kB / 0.9555 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.6425, allocations: 5.422 kB / 0.9555 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.24e-05/0.6425, allocations: 34.56 kB / 0.9555 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.6425, allocations: 4 kB / 0.9555 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003029/0.6428, allocations: 87.11 kB / 0.9556 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.6429, allocations: 56.56 kB / 0.9557 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.461e-05/0.6429, allocations: 102.6 kB / 0.9558 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.6429, allocations: 33.58 kB / 0.9558 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.826e-05/0.6429, allocations: 81.64 kB / 0.9559 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.643, allocations: 3.906 kB / 0.9559 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-06/0.643, allocations: 0.9688 kB / 0.9559 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.535e-05/0.643, allocations: 316 kB / 0.9562 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.6431, allocations: 24.14 kB / 0.9562 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.228e-05/0.6432, allocations: 21.66 kB / 0.9562 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.896e-05/0.6433, allocations: 21.02 kB / 0.9562 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6433, allocations: 0 / 0.9562 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001782/0.6434, allocations: 68.3 kB / 0.9563 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.6435, allocations: 9.125 kB / 0.9563 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.6435, allocations: 3.984 kB / 0.9563 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.6435, allocations: 0 / 0.9563 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.052e-05/0.6436, allocations: 12.28 kB / 0.9563 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.6436, allocations: 0 / 0.9563 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.6436, allocations: 9.453 kB / 0.9563 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.6437, allocations: 5.219 kB / 0.9563 GB, free: 5.426 MB / 0.7169 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 4.182e-05/0.6437, allocations: 115.6 kB / 0.9564 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-06/0.6437, allocations: 0 / 0.9564 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.395e-05/0.6437, allocations: 4.75 kB / 0.9565 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.6437, allocations: 0 / 0.9565 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.6437, allocations: 4 kB / 0.9565 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.6437, allocations: 5.266 kB / 0.9565 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.017e-05/0.6438, allocations: 155.5 kB / 0.9566 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.6438, allocations: 1.156 kB / 0.9566 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.086e-05/0.6439, allocations: 6.375 kB / 0.9566 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.6439, allocations: 1.312 kB / 0.9566 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.6439, allocations: 3.984 kB / 0.9566 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.6439, allocations: 1.5 kB / 0.9566 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6439, allocations: 0 / 0.9566 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.6441, allocations: 94.53 kB / 0.9567 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.6441, allocations: 86.19 kB / 0.9568 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.6441, allocations: 1.156 kB / 0.9568 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.465e-05/0.6442, allocations: 9.656 kB / 0.9568 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.6442, allocations: 9.016 kB / 0.9568 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.6442, allocations: 3.938 kB / 0.9568 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.841e-05/0.6443, allocations: 82.44 kB / 0.9569 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6443, allocations: 1.094 kB / 0.9569 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001758/0.6444, allocations: 2.188 kB / 0.9569 GB, free: 4.812 MB / 0.7169 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 9.104e-05/0.6445, allocations: 100.9 kB / 0.957 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001912/0.6447, allocations: 44.33 kB / 0.957 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.6447, allocations: 0 / 0.957 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.218e-05/0.6448, allocations: 22.55 kB / 0.9571 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.645, allocations: 14.2 kB / 0.9571 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001697/0.6452, allocations: 89.72 kB / 0.9572 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.358e-05/0.6452, allocations: 0.6773 MB / 0.9578 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.019e-05/0.6453, allocations: 3.938 kB / 0.9578 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.728e-05/0.6453, allocations: 7.438 kB / 0.9578 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.6453, allocations: 5.5 kB / 0.9578 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of Templates: time 0.001843/0.6471, allocations: 330.7 kB / 0.9582 GB, free: 3.695 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches