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.007401/0.007401, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001384/0.001384, allocations: 192.5 kB / 16.79 MB, free: 5.809 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.42/1.42, allocations: 222.9 MB / 240.5 MB, free: 4.59 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.342/2.342, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 59.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7278/0.7292, allocations: 140.4 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter): time 0.002195/0.7315, allocations: 0.7357 MB / 0.9503 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009264/0.7324, allocations: 0.8329 MB / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.7325, allocations: 0 / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.98e-05/0.7325, allocations: 3.938 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.286e-05/0.7326, allocations: 1.375 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.7328, allocations: 18.72 kB / 0.9512 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.95e-05/0.7329, allocations: 29.67 kB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.733, allocations: 2.75 kB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.96e-05/0.7331, allocations: 17.42 kB / 0.9512 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.7331, allocations: 16.05 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.7331, allocations: 6.75 kB / 0.9512 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.7331, allocations: 5.312 kB / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.7332, allocations: 5.375 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.7332, allocations: 14.66 kB / 0.9512 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.266e-05/0.7333, allocations: 24.09 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7333, allocations: 0 / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7333, allocations: 0 / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.7333, allocations: 1.375 kB / 0.9513 GB, free: 7.863 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.0004602/0.7338, allocations: 356.8 kB / 0.9516 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.7338, allocations: 8.25 kB / 0.9516 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.7338, allocations: 7.594 kB / 0.9516 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.598e-05/0.7339, allocations: 165.7 kB / 0.9518 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.7339, allocations: 1.75 kB / 0.9518 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.734, allocations: 1.75 kB / 0.9518 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.7342, allocations: 64.08 kB / 0.9518 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.7342, allocations: 192 / 0.9518 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.7342, allocations: 9.312 kB / 0.9519 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.7342, allocations: 3.938 kB / 0.9519 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.7345, allocations: 58.94 kB / 0.9519 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.7348, allocations: 261.8 kB / 0.9522 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.735, allocations: 67.62 kB / 0.9522 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.7351, allocations: 33.36 kB / 0.9523 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.7352, allocations: 0 / 0.9523 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.7352, allocations: 31.75 kB / 0.9523 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.7352, allocations: 4 kB / 0.9523 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004459/0.7356, allocations: 122.3 kB / 0.9524 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.7357, allocations: 52.62 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.054e-05/0.7357, allocations: 100.9 kB / 0.9526 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.7358, allocations: 27.14 kB / 0.9526 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.7358, allocations: 89.62 kB / 0.9527 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.7358, allocations: 7.906 kB / 0.9527 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.7359, allocations: 13.44 kB / 0.9527 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.786e-05/0.7359, allocations: 312.3 kB / 0.953 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.736, allocations: 32.73 kB / 0.953 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.7362, allocations: 50.52 kB / 0.9531 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.7364, allocations: 60.64 kB / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7364, allocations: 0 / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002534/0.7367, allocations: 93.48 kB / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.7367, allocations: 5.5 kB / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.7367, allocations: 0 / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.7367, allocations: 0 / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.7368, allocations: 13.33 kB / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.7369, allocations: 0 / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.327e-05/0.7369, allocations: 15.91 kB / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.7369, allocations: 5.188 kB / 0.9533 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.705e-05/0.737, allocations: 98.19 kB / 0.9533 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.459e-05/0.7371, allocations: 29.23 kB / 0.9534 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001257/0.7373, allocations: 43.78 kB / 0.9534 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.12e-07/0.7373, allocations: 4.094 kB / 0.9534 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.000199/0.7375, allocations: 64.08 kB / 0.9535 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.7375, allocations: 4.75 kB / 0.9535 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-06/0.7375, allocations: 5.156 kB / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-06/0.7375, allocations: 3.984 kB / 0.9535 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.961e-05/0.7376, allocations: 6 kB / 0.9535 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-06/0.7376, allocations: 1.406 kB / 0.9535 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/0.7376, allocations: 18.14 kB / 0.9535 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-06/0.7376, allocations: 1.219 kB / 0.9535 GB, free: 5.715 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 5.578e-05/0.7377, allocations: 181.3 kB / 0.9537 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.7377, allocations: 9.047 kB / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.7378, allocations: 8.812 kB / 0.9537 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.7378, allocations: 1.188 kB / 0.9537 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7378, allocations: 3.938 kB / 0.9537 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.7378, allocations: 3.938 kB / 0.9537 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.7379, allocations: 163.7 kB / 0.9539 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7379, allocations: 9.516 kB / 0.9539 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-05/0.738, allocations: 13.14 kB / 0.9539 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.738, allocations: 0 / 0.9539 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.738, allocations: 0 / 0.9539 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.738, allocations: 0 / 0.9539 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.738, allocations: 1.875 kB / 0.9539 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.7383, allocations: 185.5 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.7384, allocations: 78.27 kB / 0.9542 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.7384, allocations: 5.531 kB / 0.9542 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.962e-05/0.7385, allocations: 9.484 kB / 0.9542 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.7385, allocations: 1.219 kB / 0.9542 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.7385, allocations: 5.172 kB / 0.9542 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.99e-05/0.7386, allocations: 80.38 kB / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.01e-07/0.7386, allocations: 4.031 kB / 0.9543 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002799/0.7389, allocations: 19.34 kB / 0.9543 GB, free: 4.93 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.0001176/0.739, allocations: 97.97 kB / 0.9544 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.7394, allocations: 77 kB / 0.9544 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7394, allocations: 4.125 kB / 0.9544 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.7395, allocations: 29.75 kB / 0.9545 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.7399, allocations: 7.219 kB / 0.9545 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.7403, allocations: 166.9 kB / 0.9546 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.7404, allocations: 0.6818 MB / 0.9553 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.7404, allocations: 8.5 kB / 0.9553 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of SimCode: time 6.11e-07/0.7404, allocations: 0 / 0.9553 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of Templates: time 0.001917/0.7424, allocations: 0.621 MB / 0.9559 GB, free: 3.605 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