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.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.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.0008475/0.0008475, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009811/0.0009811, allocations: 180.8 kB / 16.92 MB, free: 6.652 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.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.219 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.472/2.472, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003938, allocations: 8 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8807/0.8811, allocations: 142.4 MB / 0.9557 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter): time 0.001166/0.8823, allocations: 406.6 kB / 0.9561 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.8836, allocations: 0.8289 MB / 0.9569 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.8837, allocations: 0 / 0.9569 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.8837, allocations: 0 / 0.9569 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.229e-05/0.8838, allocations: 5.469 kB / 0.9569 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.8841, allocations: 11.83 kB / 0.9569 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.8842, allocations: 31.64 kB / 0.957 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.8843, allocations: 7.938 kB / 0.957 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.744e-05/0.8844, allocations: 15.73 kB / 0.957 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.346e-05/0.8845, allocations: 16.38 kB / 0.957 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.8845, allocations: 2.781 kB / 0.957 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.8845, allocations: 1.406 kB / 0.957 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.8845, allocations: 5.281 kB / 0.957 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.8846, allocations: 40.22 kB / 0.9571 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.94e-05/0.8847, allocations: 19.67 kB / 0.9571 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8847, allocations: 0 / 0.9571 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8847, allocations: 1.281 kB / 0.9571 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.8847, allocations: 4 kB / 0.9571 GB, free: 6.594 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005172/0.8852, allocations: 356.4 kB / 0.9574 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.8853, allocations: 9.562 kB / 0.9574 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.8853, allocations: 2.406 kB / 0.9574 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.8854, allocations: 181.6 kB / 0.9576 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.8855, allocations: 1.562 kB / 0.9576 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.8855, allocations: 6.406 kB / 0.9576 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.8857, allocations: 76.52 kB / 0.9577 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.8857, allocations: 192 / 0.9577 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.8858, allocations: 5.25 kB / 0.9577 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.8858, allocations: 4 kB / 0.9577 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.8861, allocations: 67.62 kB / 0.9578 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.8865, allocations: 278.5 kB / 0.958 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.8867, allocations: 82.81 kB / 0.9581 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.8868, allocations: 42.2 kB / 0.9581 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.8869, allocations: 7.984 kB / 0.9582 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.8869, allocations: 31.59 kB / 0.9582 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.8869, allocations: 0 / 0.9582 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0005027/0.8874, allocations: 138.3 kB / 0.9583 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/0.8874, allocations: 51.41 kB / 0.9584 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.903e-05/0.8875, allocations: 109.2 kB / 0.9585 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.8875, allocations: 25.7 kB / 0.9585 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.8876, allocations: 89.89 kB / 0.9586 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.8876, allocations: 5.844 kB / 0.9586 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/0.8876, allocations: 13.66 kB / 0.9586 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.8877, allocations: 320.7 kB / 0.9589 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.8878, allocations: 39.31 kB / 0.9589 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.8879, allocations: 48.78 kB / 0.959 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.8882, allocations: 76.33 kB / 0.9591 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.8882, allocations: 0 / 0.9591 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002969/0.8885, allocations: 114.9 kB / 0.9592 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.08e-05/0.8886, allocations: 94.75 kB / 0.9593 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8886, allocations: 0 / 0.9593 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.8886, allocations: 1.25 kB / 0.9593 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.8887, allocations: 24.44 kB / 0.9593 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.8888, allocations: 1.312 kB / 0.9593 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.384e-05/0.8888, allocations: 25.42 kB / 0.9593 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.8889, allocations: 0 / 0.9593 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/0.8889, allocations: 4.344 kB / 0.9593 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001718/0.889, allocations: 49.17 kB / 0.9594 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-06/0.8891, allocations: 5.25 kB / 0.9594 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-06/0.8891, allocations: 0 / 0.9594 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.8891, allocations: 9.125 kB / 0.9594 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-06/0.8891, allocations: 0 / 0.9594 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.459e-05/0.8892, allocations: 12.23 kB / 0.9594 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-06/0.8892, allocations: 1.344 kB / 0.9594 GB, free: 4.516 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 (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 6.053e-05/0.8893, allocations: 186.5 kB / 0.9596 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.8893, allocations: 10.62 kB / 0.9596 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.8893, allocations: 7.516 kB / 0.9596 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.8893, allocations: 1.25 kB / 0.9596 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.8893, allocations: 0 / 0.9596 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8893, allocations: 3.938 kB / 0.9596 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.8895, allocations: 160 kB / 0.9597 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.8895, allocations: 1.5 kB / 0.9597 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.4e-05/0.8896, allocations: 32.08 kB / 0.9598 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.8896, allocations: 1 kB / 0.9598 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.8896, allocations: 0 / 0.9598 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.8896, allocations: 1.062 kB / 0.9598 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.8896, allocations: 0 / 0.9598 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.8899, allocations: 209.1 kB / 0.96 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/0.8899, allocations: 85.05 kB / 0.9601 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.89, allocations: 1.469 kB / 0.9601 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-05/0.8901, allocations: 18.52 kB / 0.9601 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.8901, allocations: 1.875 kB / 0.9601 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.8901, allocations: 0 / 0.9601 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.586e-05/0.8901, allocations: 85.36 kB / 0.9602 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8902, allocations: 0 / 0.9602 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002609/0.8904, allocations: 9.531 kB / 0.9602 GB, free: 3.723 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 (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.0001203/0.8905, allocations: 102 kB / 0.9603 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003901/0.8909, allocations: 107.6 kB / 0.9604 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.891, allocations: 0 / 0.9604 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.8911, allocations: 38.38 kB / 0.9604 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.8914, allocations: 6.344 kB / 0.9604 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.8917, allocations: 171.5 kB / 0.9606 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.8919, allocations: 0.6785 MB / 0.9612 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.8919, allocations: 8.812 kB / 0.9612 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.8919, allocations: 4 kB / 0.9613 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of Templates: time 0.001872/0.8938, allocations: 0.6139 MB / 0.9618 GB, free: 2.395 MB / 0.7169 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