Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.377/2.377, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 182.9 kB / 0.4902 GB, free: 2.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 223.2 MB / 0.7992 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001273, allocations: 102 kB / 0.9396 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003839, allocations: 12.03 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3329, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1886/0.5216, allocations: 149.5 MB / 1.375 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.5219, allocations: 71.95 kB / 1.375 GB, free: 3.914 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001257/0.5232, allocations: 0.5125 MB / 1.376 GB, free: 3.398 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.075e-06/0.5232, allocations: 0 / 1.376 GB, free: 3.398 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.5232, allocations: 0 / 1.376 GB, free: 3.398 MB / 0.8698 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.0004214/0.5237, allocations: 340.3 kB / 1.376 GB, free: 3.02 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.5237, allocations: 8.031 kB / 1.376 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.5237, allocations: 0 / 1.376 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.5239, allocations: 174.9 kB / 1.376 GB, free: 2.801 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.5239, allocations: 4 kB / 1.376 GB, free: 2.797 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-06/0.5239, allocations: 0 / 1.376 GB, free: 2.797 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.5241, allocations: 49.69 kB / 1.376 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.5241, allocations: 3.984 kB / 1.376 GB, free: 2.738 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.5242, allocations: 0 / 1.376 GB, free: 2.738 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.5242, allocations: 0 / 1.376 GB, free: 2.738 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.5243, allocations: 47.95 kB / 1.376 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.5245, allocations: 165.6 kB / 1.377 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.5247, allocations: 31.42 kB / 1.377 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.5247, allocations: 0 / 1.377 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.5247, allocations: 38.62 kB / 1.377 GB, free: 2.395 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.5247, allocations: 0 / 1.377 GB, free: 2.395 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0003358/0.5251, allocations: 93.58 kB / 1.377 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.5251, allocations: 55.53 kB / 1.377 GB, free: 2.23 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.99e-05/0.5252, allocations: 89 kB / 1.377 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.5252, allocations: 25.7 kB / 1.377 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.5253, allocations: 80.14 kB / 1.377 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.5253, allocations: 11.98 kB / 1.377 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.5253, allocations: 0 / 1.377 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5254, allocations: 310.8 kB / 1.377 GB, free: 1.699 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/0.5255, allocations: 19.98 kB / 1.377 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.251e-05/0.5256, allocations: 27.92 kB / 1.377 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.805e-05/0.5257, allocations: 19.94 kB / 1.377 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5257, allocations: 64 / 1.377 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001781/0.5259, allocations: 73.66 kB / 1.377 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.5259, allocations: 8 kB / 1.377 GB, free: 1.547 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.5259, allocations: 0 / 1.377 GB, free: 1.547 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.5259, allocations: 3.938 kB / 1.377 GB, free: 1.543 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.141e-05/0.526, allocations: 16.02 kB / 1.377 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.526, allocations: 0 / 1.377 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.5261, allocations: 4 kB / 1.377 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.5261, allocations: 0 / 1.377 GB, free: 1.523 MB / 0.8698 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 8.592e-05/0.5262, allocations: 118.6 kB / 1.378 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.5262, allocations: 3.906 kB / 1.378 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.5262, allocations: 7.125 kB / 1.378 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.5263, allocations: 7.938 kB / 1.378 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5263, allocations: 0 / 1.378 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.5263, allocations: 4 kB / 1.378 GB, free: 1.379 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.5264, allocations: 145.7 kB / 1.378 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5264, allocations: 3.953 kB / 1.378 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.867e-05/0.5265, allocations: 11.98 kB / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5265, allocations: 0 / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.5265, allocations: 0 / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5265, allocations: 0 / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.5265, allocations: 4 kB / 1.378 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.5267, allocations: 101 kB / 1.378 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.5268, allocations: 81.06 kB / 1.378 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.5268, allocations: 8.031 kB / 1.378 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.47e-05/0.5268, allocations: 7.984 kB / 1.378 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.5269, allocations: 0 / 1.378 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.5269, allocations: 0 / 1.378 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.437e-05/0.5269, allocations: 79.28 kB / 1.378 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.5269, allocations: 0 / 1.378 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000158/0.5271, allocations: 8 kB / 1.378 GB, free: 0.8516 MB / 0.8698 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.00018/0.5273, allocations: 103.2 kB / 1.378 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.5275, allocations: 35.97 kB / 1.378 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5275, allocations: 0 / 1.378 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.597e-05/0.5276, allocations: 28.05 kB / 1.378 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.5278, allocations: 10.33 kB / 1.378 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.5281, allocations: 92.91 kB / 1.378 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.5284, allocations: 0.6886 MB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.798e-05/0.5285, allocations: 4.266 kB / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.5285, allocations: 7.5 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.5285, allocations: 4 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of Templates: time 0.002082/0.5306, allocations: 330.5 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches