Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.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.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 108.3 kB / 16.41 MB, free: 6.496 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.001506/0.001506, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.16 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.242/2.242, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 71.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8914/0.8929, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter): time 0.00222/0.8952, allocations: 0.6818 MB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.8963, allocations: 0.8399 MB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.931e-05/0.8964, allocations: 1.062 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.8964, allocations: 0.7969 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.528e-05/0.8965, allocations: 5.031 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.8966, allocations: 23.17 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.784e-05/0.8967, allocations: 29.62 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.8969, allocations: 8.484 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.919e-05/0.8969, allocations: 11.56 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.897, allocations: 24.02 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.897, allocations: 3.969 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.897, allocations: 3.094 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.8971, allocations: 7.312 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.8971, allocations: 15.48 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.8972, allocations: 35.92 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.8972, allocations: 0 / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8972, allocations: 0 / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.8973, allocations: 0 / 1.09 GB, free: 4.387 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005352/0.8978, allocations: 360.2 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.8979, allocations: 10.08 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.8979, allocations: 6.625 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.638e-05/0.898, allocations: 168 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.898, allocations: 1.312 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.898, allocations: 2.797 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.8983, allocations: 64.33 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.8983, allocations: 5.281 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.8984, allocations: 3.938 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.8984, allocations: 0 / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003329/0.8987, allocations: 56.3 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.8991, allocations: 261.8 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.8994, allocations: 63.25 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.8996, allocations: 37.56 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.8997, allocations: 0.5156 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.8997, allocations: 32.64 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.8997, allocations: 4 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0006227/0.9003, allocations: 112 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.9004, allocations: 52.88 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.804e-05/0.9004, allocations: 105.1 kB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.9004, allocations: 33.77 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.9005, allocations: 83.06 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.9005, allocations: 11.89 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.9006, allocations: 15 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.885e-05/0.9006, allocations: 313 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.9008, allocations: 36.84 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.901, allocations: 47.62 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.9013, allocations: 55.94 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9013, allocations: 0 / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003728/0.9017, allocations: 96.23 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.9017, allocations: 5.5 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.9017, allocations: 0.5156 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.9018, allocations: 4 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.9019, allocations: 13.75 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.9019, allocations: 5.031 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.9021, allocations: 18.12 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.9021, allocations: 5.375 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001263/0.9022, allocations: 99.64 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001109/0.9023, allocations: 30.12 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000189/0.9025, allocations: 36.78 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.61e-07/0.9025, allocations: 4.781 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.000256/0.9028, allocations: 70.77 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.9028, allocations: 5.938 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-06/0.9028, allocations: 0 / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-06/0.9028, allocations: 1.281 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.216e-05/0.9029, allocations: 12.59 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.9029, allocations: 0 / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.797e-05/0.903, allocations: 14.41 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.903, allocations: 1.359 kB / 1.093 GB, free: 2.441 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 (2): * Single equations (assignments): 2 * 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 5.332e-05/0.9031, allocations: 182.6 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.9031, allocations: 1.266 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.9032, allocations: 14.2 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.9032, allocations: 0.75 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.9032, allocations: 0 / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.9032, allocations: 1.609 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.9034, allocations: 162.4 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.9035, allocations: 4.516 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.9036, allocations: 14.42 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.9036, allocations: 0 / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.9036, allocations: 1 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.9036, allocations: 0.7969 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9036, allocations: 0.5625 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.9041, allocations: 197.1 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.9041, allocations: 78.28 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.9041, allocations: 5.375 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.9043, allocations: 9.984 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.9043, allocations: 2.625 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.9044, allocations: 1.375 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.9044, allocations: 89.84 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9044, allocations: 4.031 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004456/0.9049, allocations: 7.031 kB / 1.093 GB, free: 1.703 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 (2): * Single equations (assignments): 2 * 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.0001574/0.9051, allocations: 100.5 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005582/0.9056, allocations: 78.92 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9056, allocations: 4.688 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.9058, allocations: 34.12 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.9063, allocations: 6.844 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/0.9069, allocations: 156.1 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.907, allocations: 0.6813 MB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.9071, allocations: 9.656 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.9071, allocations: 0.7188 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of Templates: time 0.002768/0.9098, allocations: 0.6265 MB / 1.095 GB, free: 0.7109 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches