Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_10_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_10_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.001527/0.001527, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.002104/0.002104, allocations: 187 kB / 17.34 MB, free: 5.742 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.472/2.472, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 59.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8772/0.8787, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001974/0.8807, allocations: 0.5999 MB / 1.168 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009744/0.8818, allocations: 0.7922 MB / 1.169 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.8818, allocations: 4 kB / 1.169 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.8818, allocations: 4 kB / 1.169 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.755e-05/0.882, allocations: 3.938 kB / 1.169 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.271e-05/0.882, allocations: 0 / 1.169 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.035e-05/0.8821, allocations: 19.98 kB / 1.169 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.738e-05/0.8822, allocations: 0 / 1.169 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.09e-05/0.8822, allocations: 7.984 kB / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.8823, allocations: 7.938 kB / 1.169 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.8823, allocations: 7.938 kB / 1.169 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.45e-06/0.8823, allocations: 0 / 1.169 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.8823, allocations: 0 / 1.169 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.8824, allocations: 15.97 kB / 1.169 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.063e-05/0.8825, allocations: 19.92 kB / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.8825, allocations: 0 / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.953e-06/0.8825, allocations: 0 / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.8825, allocations: 0 / 1.169 GB, free: 2.387 MB / 0.8887 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.0004738/0.883, allocations: 327.6 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.883, allocations: 8.625 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.8831, allocations: 8.844 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.8832, allocations: 172.2 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.8832, allocations: 4.375 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.8832, allocations: 384 / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.8834, allocations: 38.25 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.8834, allocations: 192 / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.8834, allocations: 3.938 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.8835, allocations: 0 / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.8836, allocations: 35.89 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.8838, allocations: 157.7 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.8839, allocations: 26.66 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.219e-05/0.884, allocations: 24.84 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.884, allocations: 0 / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.884, allocations: 30.56 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 2.625e-06/0.8841, allocations: 0 / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0003181/0.8844, allocations: 89.45 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.8844, allocations: 55.34 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/0.8845, allocations: 105.8 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.8845, allocations: 25.7 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.8846, allocations: 84.14 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.8846, allocations: 6.359 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.8847, allocations: 21.84 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.8848, allocations: 310.8 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.771e-05/0.8849, allocations: 11.98 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.034e-05/0.885, allocations: 19.98 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.8851, allocations: 36.88 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8851, allocations: 0 / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001912/0.8853, allocations: 61.61 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.8853, allocations: 4 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.8854, allocations: 7.922 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.8854, allocations: 0 / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.481e-05/0.8855, allocations: 8 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.8855, allocations: 0 / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.8855, allocations: 12.02 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.8856, allocations: 4 kB / 1.17 GB, free: 0.5 MB / 0.8887 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 7.74e-05/0.8856, allocations: 109.8 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.8857, allocations: 0 / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.8857, allocations: 7.062 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.8857, allocations: 4 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.8857, allocations: 0 / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.8857, allocations: 3.984 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.8858, allocations: 149.7 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.8858, allocations: 8 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.8859, allocations: 4 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8859, allocations: 0 / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.026e-06/0.8859, allocations: 3.938 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.247e-06/0.8859, allocations: 3.984 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8859, allocations: 0 / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.8861, allocations: 85.05 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.8862, allocations: 89 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.8862, allocations: 3.938 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.186e-05/0.8863, allocations: 7.938 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.8863, allocations: 4 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.8863, allocations: 3.984 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.53e-05/0.8864, allocations: 79.28 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8864, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001776/0.8866, allocations: 4 kB / 1.171 GB, free: 15.84 MB / 0.9044 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.0001355/0.8867, allocations: 99.28 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.8869, allocations: 43.83 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8869, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.808e-05/0.887, allocations: 15.98 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.8873, allocations: 14.17 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.8876, allocations: 123.2 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.8878, allocations: 0.669 MB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.8878, allocations: 11.44 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.8879, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of Templates: time 0.001996/0.8899, allocations: 0.4923 MB / 1.172 GB, free: 14.31 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches