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.009833/0.009833, allocations: 104.5 kB / 15.73 MB, free: 6.047 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.001874/0.001875, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.551/1.551, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.592/2.592, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 65.33 kB / 0.9509 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4116, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.002879/0.4145, allocations: 0.5994 MB / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.416, allocations: 0.7849 MB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.4161, allocations: 0 / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.922e-05/0.4162, allocations: 0 / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.4163, allocations: 0 / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.265e-05/0.4164, allocations: 15.92 kB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.234e-05/0.4165, allocations: 19.92 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.4166, allocations: 7.984 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.276e-05/0.4167, allocations: 4 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.051e-05/0.4168, allocations: 11.92 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.4168, allocations: 0 / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/0.4168, allocations: 4 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.4168, allocations: 4 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.4169, allocations: 3.938 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.417, allocations: 19.98 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.417, allocations: 4 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.315e-06/0.417, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.4171, allocations: 0 / 1.089 GB, free: 15.98 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.0006257/0.4177, allocations: 335.5 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.4178, allocations: 12.03 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.4178, allocations: 0.9375 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.418, allocations: 168.3 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.418, allocations: 384 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.418, allocations: 4.375 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.4182, allocations: 46.23 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.4183, allocations: 192 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.4183, allocations: 3.938 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.4183, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.4185, allocations: 31.91 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/0.4187, allocations: 157.6 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.4189, allocations: 38.55 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/0.4189, allocations: 16.91 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.419, allocations: 0 / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.419, allocations: 30.56 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.664e-06/0.419, allocations: 4 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0003742/0.4194, allocations: 81.52 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.4195, allocations: 51.41 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.4196, allocations: 101.9 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.4196, allocations: 25.7 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.4196, allocations: 80.14 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.4197, allocations: 4 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.4197, allocations: 21.83 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4199, allocations: 310.8 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.42, allocations: 15.98 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.98e-05/0.42, allocations: 11.98 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.4202, allocations: 32.83 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4202, allocations: 4.062 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001905/0.4204, allocations: 69.5 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.4204, allocations: 9.188 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.4205, allocations: 7.938 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.4205, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.4206, allocations: 11.98 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.4206, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.4207, allocations: 8.016 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.4207, allocations: 4 kB / 1.091 GB, free: 14.09 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 0.0001162/0.4208, allocations: 105.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.4209, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.4209, allocations: 7.062 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4209, allocations: 0 / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4209, allocations: 0 / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4209, allocations: 0 / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.4211, allocations: 157.6 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4211, allocations: 0 / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.521e-05/0.4212, allocations: 11.98 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.4212, allocations: 3.938 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.4212, allocations: 3.938 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.4212, allocations: 4 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4212, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.4214, allocations: 89.03 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.765e-05/0.4215, allocations: 77.11 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.4216, allocations: 4.125 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.201e-05/0.4216, allocations: 11.98 kB / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.4217, allocations: 3.984 kB / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.4217, allocations: 0 / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.326e-05/0.4217, allocations: 83.27 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4217, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002024/0.422, allocations: 4 kB / 1.092 GB, free: 13.44 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.0002449/0.4222, allocations: 103.8 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.4224, allocations: 27.97 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4225, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.16e-05/0.4225, allocations: 23.92 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.4229, allocations: 3.984 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005106/0.4234, allocations: 105.7 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.4238, allocations: 0.6768 MB / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.515e-05/0.4238, allocations: 0 / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.4239, allocations: 7.438 kB / 1.092 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of SimCode: time 1.9e-07/0.4239, allocations: 0 / 1.092 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of Templates: time 0.003428/0.4273, allocations: 407.9 kB / 1.093 GB, free: 12.04 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