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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008985/0.008985, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.0015/0.0015, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.586/1.586, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.472/2.472, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 64.05 kB / 0.9509 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245/1.246, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.002372/1.248, allocations: 0.6183 MB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001161/1.25, allocations: 0.7759 MB / 1.089 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.799e-05/1.25, allocations: 0 / 1.089 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.661e-05/1.25, allocations: 5.062 kB / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.031e-05/1.25, allocations: 0.75 kB / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.819e-05/1.25, allocations: 6.922 kB / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.911e-05/1.25, allocations: 20.69 kB / 1.089 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.772e-05/1.25, allocations: 7.422 kB / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.192e-05/1.25, allocations: 12.14 kB / 1.089 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.041e-05/1.25, allocations: 4.375 kB / 1.089 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/1.25, allocations: 1.094 kB / 1.089 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-06/1.25, allocations: 1.781 kB / 1.089 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/1.25, allocations: 5.219 kB / 1.089 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/1.25, allocations: 6.734 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/1.25, allocations: 18.08 kB / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.25, allocations: 0.75 kB / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/1.25, allocations: 4 kB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.272e-06/1.25, allocations: 0 / 1.089 GB, free: 4.508 MB / 0.8575 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.0004792/1.251, allocations: 334.1 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/1.251, allocations: 9.781 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/1.251, allocations: 2.031 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/1.251, allocations: 167.2 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/1.251, allocations: 384 / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/1.251, allocations: 1.438 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/1.251, allocations: 46 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/1.251, allocations: 192 / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/1.251, allocations: 7.938 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/1.251, allocations: 1.484 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/1.252, allocations: 25.48 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/1.252, allocations: 152 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/1.252, allocations: 41.08 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.721e-05/1.252, allocations: 18.78 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/1.252, allocations: 3.938 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/1.252, allocations: 32.44 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/1.252, allocations: 0 / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0003425/1.252, allocations: 83.48 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/1.252, allocations: 51.41 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.438e-05/1.252, allocations: 101.2 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/1.252, allocations: 26.8 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.461e-05/1.252, allocations: 84.84 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/1.253, allocations: 5.109 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/1.253, allocations: 16.08 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.811e-05/1.253, allocations: 316.9 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.279e-05/1.253, allocations: 16.23 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.6e-05/1.253, allocations: 13.66 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/1.253, allocations: 35.86 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.253, allocations: 0 / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001836/1.253, allocations: 63.19 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.253, allocations: 6.594 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/1.253, allocations: 8.391 kB / 1.091 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/1.253, allocations: 4.125 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-05/1.253, allocations: 7.109 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/1.253, allocations: 0 / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/1.253, allocations: 6.688 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/1.253, allocations: 0.6406 kB / 1.091 GB, free: 2.898 MB / 0.8575 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.359e-05/1.253, allocations: 112.6 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/1.253, allocations: 4.922 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/1.254, allocations: 12.61 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.254, allocations: 0.8125 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.254, allocations: 0 / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/1.254, allocations: 1.641 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.836e-05/1.254, allocations: 156.5 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/1.254, allocations: 0.8438 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.72e-05/1.254, allocations: 11.53 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.254, allocations: 0 / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/1.254, allocations: 4.906 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/1.254, allocations: 0.6094 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.254, allocations: 0.7188 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/1.254, allocations: 92.08 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/1.254, allocations: 83 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/1.254, allocations: 5.234 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.461e-05/1.254, allocations: 6.281 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/1.254, allocations: 2.297 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/1.254, allocations: 0 / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.092e-05/1.254, allocations: 83.64 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.254, allocations: 1.062 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002086/1.254, allocations: 2.156 kB / 1.092 GB, free: 2.305 MB / 0.8575 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.0001601/1.255, allocations: 104 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002265/1.255, allocations: 32.73 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.255, allocations: 0 / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.138e-05/1.255, allocations: 18.78 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/1.255, allocations: 2.734 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/1.255, allocations: 96.89 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/1.256, allocations: 0.6735 MB / 1.092 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.635e-05/1.256, allocations: 1.094 kB / 1.092 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/1.256, allocations: 11.98 kB / 1.092 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of SimCode: time 1.9e-07/1.256, allocations: 1.094 kB / 1.092 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of Templates: time 0.002946/1.259, allocations: 410.3 kB / 1.093 GB, free: 1.328 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches