Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 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.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 110 kB / 16.41 MB, free: 5.973 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.001884/0.001884, allocations: 191 kB / 17.34 MB, free: 5.582 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.539/1.539, allocations: 222.9 MB / 241 MB, free: 15.05 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.708/2.708, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 72.08 kB / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9283/0.9303, allocations: 151.6 MB / 1.167 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002231/0.9326, allocations: 0.6842 MB / 1.168 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.9339, allocations: 0.8375 MB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.9339, allocations: 0 / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/0.934, allocations: 3.938 kB / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.701e-05/0.9341, allocations: 7.938 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.9343, allocations: 11.97 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.9344, allocations: 39.91 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.9345, allocations: 4 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.205e-05/0.9346, allocations: 19.92 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.9347, allocations: 19.92 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.9347, allocations: 4 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.257e-05/0.9347, allocations: 4 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.9347, allocations: 0 / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.9348, allocations: 15.92 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.9349, allocations: 31.88 kB / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.113e-05/0.9349, allocations: 0 / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.414e-06/0.9349, allocations: 3.938 kB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.9349, allocations: 0 / 1.169 GB, free: 2.059 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006814/0.9356, allocations: 367.9 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.9357, allocations: 8.922 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.9357, allocations: 4.938 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.9359, allocations: 164.4 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.9359, allocations: 4.375 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.9359, allocations: 384 / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.9362, allocations: 66.22 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.9362, allocations: 192 / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.9362, allocations: 3.938 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.9362, allocations: 0 / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.9365, allocations: 55.94 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.9369, allocations: 268.8 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.9372, allocations: 66.45 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.9373, allocations: 32.89 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.9373, allocations: 0 / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.9374, allocations: 38.55 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.9374, allocations: 0 / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0005034/0.9379, allocations: 121.5 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.9379, allocations: 51.41 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.424e-05/0.938, allocations: 105.8 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.9381, allocations: 33.77 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.9381, allocations: 80.14 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.9382, allocations: 15.94 kB / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.9382, allocations: 9.719 kB / 1.17 GB, free: 396 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.9384, allocations: 318.8 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.9385, allocations: 32.83 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.9387, allocations: 41.69 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.9389, allocations: 60.8 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9389, allocations: 3.938 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002722/0.9392, allocations: 93.92 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.9392, allocations: 4 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.9392, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.9392, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.9394, allocations: 23.97 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.9394, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.637e-05/0.9395, allocations: 19.97 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.9395, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001189/0.9396, allocations: 96.12 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.245e-05/0.9397, allocations: 33.69 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001374/0.9398, allocations: 40.86 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.31e-07/0.9398, allocations: 4 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001941/0.94, allocations: 69.59 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/0.9401, allocations: 6.5 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-06/0.9401, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-06/0.9401, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.178e-05/0.9401, allocations: 11.98 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-06/0.9401, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.9402, allocations: 16.02 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-06/0.9402, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 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 0.0001234/0.9403, allocations: 184.1 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.9404, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.9404, allocations: 11.53 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.9404, allocations: 0 / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.9404, allocations: 0 / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.9404, allocations: 0 / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.9406, allocations: 165.6 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.9407, allocations: 7.938 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-05/0.9407, allocations: 15.92 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.9407, allocations: 0 / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.9408, allocations: 7.922 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.9408, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.9408, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.9411, allocations: 187.4 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.9412, allocations: 81.11 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.9412, allocations: 0 / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.781e-05/0.9413, allocations: 11.98 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.9413, allocations: 7.984 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.9413, allocations: 0 / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.906e-05/0.9414, allocations: 83.28 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9414, allocations: 4.031 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000285/0.9417, allocations: 12 kB / 1.172 GB, free: 14.62 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 (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.0001739/0.9419, allocations: 103.2 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.9422, allocations: 75.86 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.9423, allocations: 4.125 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.9424, allocations: 27.97 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.9427, allocations: 7.938 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.9431, allocations: 142.3 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.9435, allocations: 0.6807 MB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.812e-05/0.9435, allocations: 4.062 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.9435, allocations: 7.438 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.9435, allocations: 4 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of Templates: time 0.00303/0.9466, allocations: 0.5906 MB / 1.174 GB, free: 12.93 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches