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.009705/0.009705, allocations: 102.4 kB / 15.73 MB, free: 6.043 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.001875/0.001874, allocations: 199.2 kB / 16.68 MB, free: 5.961 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.389/2.389, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 76.08 kB / 0.9509 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.318/1.319, allocations: 140.4 MB / 1.088 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter): time 0.002365/1.321, allocations: 0.6768 MB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001238/1.322, allocations: 0.8372 MB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.471e-05/1.323, allocations: 0 / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/1.323, allocations: 0 / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.394e-05/1.323, allocations: 9.547 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/1.323, allocations: 19.03 kB / 1.089 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/1.323, allocations: 29.67 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/1.323, allocations: 8.5 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/1.323, allocations: 16.25 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.659e-05/1.323, allocations: 19.39 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/1.323, allocations: 3.438 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/1.323, allocations: 2.938 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/1.323, allocations: 7.125 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.8e-05/1.323, allocations: 16.38 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/1.324, allocations: 35.33 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.324, allocations: 0.7031 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.084e-06/1.324, allocations: 4 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.536e-06/1.324, allocations: 1.406 kB / 1.09 GB, free: 4.398 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.0005837/1.324, allocations: 354.9 kB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/1.324, allocations: 13.44 kB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/1.324, allocations: 3.578 kB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/1.324, allocations: 167.5 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/1.324, allocations: 1.375 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/1.325, allocations: 5.766 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/1.325, allocations: 68.66 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.325, allocations: 1.312 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/1.325, allocations: 4.688 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.325, allocations: 3.984 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002646/1.325, allocations: 51.67 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/1.326, allocations: 266.6 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/1.326, allocations: 62.94 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/1.326, allocations: 37.34 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/1.326, allocations: 5.188 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/1.326, allocations: 35.88 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/1.326, allocations: 0 / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005041/1.327, allocations: 112.3 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/1.327, allocations: 53.91 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.954e-05/1.327, allocations: 107.1 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/1.327, allocations: 25.7 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/1.327, allocations: 86.53 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/1.327, allocations: 5.547 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/1.327, allocations: 14.61 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.318e-05/1.327, allocations: 317.3 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/1.327, allocations: 41.41 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/1.327, allocations: 39.55 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/1.327, allocations: 63.09 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.327, allocations: 0 / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002837/1.328, allocations: 88.05 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.328, allocations: 5.219 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.328, allocations: 0 / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/1.328, allocations: 1.359 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/1.328, allocations: 18.38 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/1.328, allocations: 0 / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.601e-05/1.328, allocations: 22.62 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/1.328, allocations: 4.703 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001044/1.328, allocations: 95.83 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.374e-05/1.328, allocations: 29.5 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001434/1.328, allocations: 41.5 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/1.328, allocations: 0.7188 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001952/1.329, allocations: 70.58 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/1.329, allocations: 8.094 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-06/1.329, allocations: 0.8125 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-06/1.329, allocations: 4.828 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.379e-05/1.329, allocations: 12.11 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/1.329, allocations: 1.828 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.303e-05/1.329, allocations: 14.22 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-06/1.329, allocations: 0.6562 kB / 1.092 GB, free: 2.453 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 8.27e-05/1.329, allocations: 182.7 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/1.329, allocations: 0.9062 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/1.329, allocations: 5.688 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.329, allocations: 4.938 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.329, allocations: 0.6094 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.329, allocations: 0.9375 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/1.329, allocations: 167.4 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.329, allocations: 0 / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-05/1.329, allocations: 18.03 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/1.329, allocations: 0 / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/1.329, allocations: 1.188 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.329, allocations: 1.047 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.329, allocations: 1.344 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/1.33, allocations: 192 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/1.33, allocations: 83.12 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/1.33, allocations: 1.469 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.724e-05/1.33, allocations: 13.53 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/1.33, allocations: 2.844 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/1.33, allocations: 1.469 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.437e-05/1.33, allocations: 85.73 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.33, allocations: 0 / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002709/1.33, allocations: 7.438 kB / 1.093 GB, free: 1.723 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.0001843/1.33, allocations: 103.7 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000448/1.331, allocations: 83.44 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.331, allocations: 0 / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/1.331, allocations: 29.89 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/1.331, allocations: 12.14 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004291/1.332, allocations: 132.3 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/1.332, allocations: 0.6777 MB / 1.094 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.088e-05/1.332, allocations: 2.266 kB / 1.094 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/1.332, allocations: 10.17 kB / 1.094 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/1.332, allocations: 0 / 1.094 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of Templates: time 0.003568/1.335, allocations: 0.6249 MB / 1.094 GB, free: 0.707 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/jenkins/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