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.007493/0.007493, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.00189/0.00189, allocations: 192.9 kB / 16.79 MB, free: 5.809 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.396/1.396, allocations: 222.9 MB / 240.5 MB, free: 4.562 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.36/2.36, allocations: 390.2 MB / 0.6649 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6334/0.6348, allocations: 140.4 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.001663/0.6366, allocations: 0.668 MB / 0.9503 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005976/0.6372, allocations: 0.7749 MB / 0.951 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.6372, allocations: 5.375 kB / 0.951 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.6372, allocations: 0 / 0.951 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.329e-05/0.6373, allocations: 7.922 kB / 0.951 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.665e-05/0.6373, allocations: 5.375 kB / 0.951 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.161e-05/0.6374, allocations: 14.86 kB / 0.951 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.329e-05/0.6374, allocations: 9.297 kB / 0.9511 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.355e-05/0.6375, allocations: 6.75 kB / 0.9511 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.257e-05/0.6376, allocations: 10.67 kB / 0.9511 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.6376, allocations: 1.375 kB / 0.9511 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.084e-06/0.6376, allocations: 0 / 0.9511 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.6376, allocations: 5.375 kB / 0.9511 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.6376, allocations: 9.312 kB / 0.9511 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.182e-05/0.6377, allocations: 5.359 kB / 0.9511 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6377, allocations: 1.375 kB / 0.9511 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6377, allocations: 0 / 0.9511 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.6377, allocations: 0 / 0.9511 GB, free: 8.023 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.0003656/0.6381, allocations: 332.5 kB / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.6381, allocations: 8.25 kB / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.6382, allocations: 6.312 kB / 0.9514 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.114e-05/0.6382, allocations: 167.7 kB / 0.9516 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.6383, allocations: 1.75 kB / 0.9516 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.6383, allocations: 384 / 0.9516 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.6384, allocations: 43.88 kB / 0.9516 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.6384, allocations: 192 / 0.9516 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.6385, allocations: 3.938 kB / 0.9516 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.6385, allocations: 3.938 kB / 0.9516 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.6386, allocations: 32.45 kB / 0.9517 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001205/0.6387, allocations: 152.4 kB / 0.9518 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.899e-05/0.6388, allocations: 36.17 kB / 0.9518 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.905e-05/0.6389, allocations: 17.34 kB / 0.9519 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.6389, allocations: 0 / 0.9519 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.639, allocations: 36.09 kB / 0.9519 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.639, allocations: 0 / 0.9519 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003123/0.6393, allocations: 87.83 kB / 0.952 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.97e-05/0.6393, allocations: 52.91 kB / 0.952 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.93e-05/0.6394, allocations: 99.09 kB / 0.9521 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.6394, allocations: 25.7 kB / 0.9522 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.846e-05/0.6394, allocations: 89.64 kB / 0.9522 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.6394, allocations: 0 / 0.9522 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.6395, allocations: 10.88 kB / 0.9522 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.158e-05/0.6395, allocations: 316.2 kB / 0.9525 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-05/0.6396, allocations: 21.09 kB / 0.9526 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.33e-05/0.6397, allocations: 12.36 kB / 0.9526 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.6398, allocations: 44.52 kB / 0.9526 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6398, allocations: 0 / 0.9526 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001576/0.64, allocations: 61.38 kB / 0.9527 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.64, allocations: 5.656 kB / 0.9527 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.64, allocations: 3.938 kB / 0.9527 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.64, allocations: 0.7812 kB / 0.9527 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.6401, allocations: 13.16 kB / 0.9527 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.6401, allocations: 3.984 kB / 0.9527 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.332e-05/0.6402, allocations: 3.438 kB / 0.9527 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.6402, allocations: 1.375 kB / 0.9527 GB, free: 6.316 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.6402, allocations: 107.1 kB / 0.9528 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-06/0.6402, allocations: 5.312 kB / 0.9528 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.599e-05/0.6402, allocations: 11.05 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.6403, allocations: 1.125 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6403, allocations: 4 kB / 0.9528 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.6403, allocations: 0 / 0.9528 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.532e-05/0.6403, allocations: 153.6 kB / 0.953 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.6403, allocations: 0 / 0.953 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.96e-05/0.6404, allocations: 8.766 kB / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6404, allocations: 3.938 kB / 0.953 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.6404, allocations: 5.219 kB / 0.953 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.6404, allocations: 0 / 0.953 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6404, allocations: 0 / 0.953 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.6406, allocations: 90 kB / 0.9531 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.6406, allocations: 78.36 kB / 0.9532 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.6406, allocations: 3.938 kB / 0.9532 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.056e-05/0.6407, allocations: 3.938 kB / 0.9532 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.6407, allocations: 5.203 kB / 0.9532 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.6407, allocations: 0 / 0.9532 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.056e-05/0.6408, allocations: 82.91 kB / 0.9533 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6408, allocations: 0 / 0.9533 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001709/0.6409, allocations: 2.375 kB / 0.9533 GB, free: 5.711 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.932e-05/0.641, allocations: 97.62 kB / 0.9533 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001803/0.6412, allocations: 38.55 kB / 0.9534 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.6412, allocations: 0 / 0.9534 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.626e-05/0.6413, allocations: 21.45 kB / 0.9534 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.6415, allocations: 10.88 kB / 0.9534 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002328/0.6418, allocations: 120.8 kB / 0.9535 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.537e-05/0.6419, allocations: 0.6758 MB / 0.9542 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.6419, allocations: 8.594 kB / 0.9542 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.6419, allocations: 0 / 0.9542 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of Templates: time 0.001458/0.6434, allocations: 0.4915 MB / 0.9547 GB, free: 4.496 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","/var/lib/jenkins1/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