Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.033/1.033, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.145/2.145, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 0.8782 GB, free: 6.09 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.767e-05, allocations: 5.859 kB / 0.8782 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001112/0.001129, allocations: 0.686 MB / 0.8789 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009144/0.002044, allocations: 0.8799 MB / 0.8798 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.934e-05/0.002073, allocations: 0 / 0.8798 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.002101, allocations: 4.719 kB / 0.8798 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.635e-05/0.002167, allocations: 5.75 kB / 0.8798 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.002323, allocations: 24.42 kB / 0.8798 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.365e-05/0.002397, allocations: 33.89 kB / 0.8798 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.105e-05/0.002488, allocations: 11.97 kB / 0.8799 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.451e-05/0.002562, allocations: 19.92 kB / 0.8799 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.948e-05/0.002602, allocations: 12.64 kB / 0.8799 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.002624, allocations: 4 kB / 0.8799 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-06/0.002632, allocations: 5.469 kB / 0.8799 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.002649, allocations: 4 kB / 0.8799 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.002672, allocations: 11.94 kB / 0.8799 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.945e-05/0.002752, allocations: 23.95 kB / 0.8799 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.002754, allocations: 3.875 kB / 0.8799 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002754, allocations: 0 / 0.8799 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.002758, allocations: 0 / 0.8799 GB, free: 4.379 MB / 0.8386 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.0003602/0.003118, allocations: 376.5 kB / 0.8803 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.003154, allocations: 8.031 kB / 0.8803 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.003194, allocations: 8.891 kB / 0.8803 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.448e-05/0.003269, allocations: 108.6 kB / 0.8804 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.003281, allocations: 4.375 kB / 0.8804 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.00329, allocations: 384 / 0.8804 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.003419, allocations: 63.88 kB / 0.8805 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.003425, allocations: 192 / 0.8805 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.003434, allocations: 1.406 kB / 0.8805 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.003442, allocations: 4.375 kB / 0.8805 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.245e-05/0.003474, allocations: 7.938 kB / 0.8805 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.00377, allocations: 268.8 kB / 0.8807 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.737e-05/0.003837, allocations: 39.05 kB / 0.8808 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.003858, allocations: 8.719 kB / 0.8808 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.003875, allocations: 4.062 kB / 0.8808 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.003896, allocations: 36.86 kB / 0.8808 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.003897, allocations: 0 / 0.8808 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001557/0.004053, allocations: 57.52 kB / 0.8809 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.004081, allocations: 51.41 kB / 0.8809 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.004e-05/0.004151, allocations: 169.9 kB / 0.8811 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.004161, allocations: 25.7 kB / 0.8811 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.004202, allocations: 130.9 kB / 0.8812 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.00422, allocations: 7.953 kB / 0.8813 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.004246, allocations: 15.38 kB / 0.8813 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.004354, allocations: 0.4931 MB / 0.8818 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/0.004376, allocations: 11.69 kB / 0.8818 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.605e-05/0.004412, allocations: 45.67 kB / 0.8818 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.182e-05/0.004444, allocations: 20.97 kB / 0.8818 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.004447, allocations: 0 / 0.8818 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.637e-05/0.004503, allocations: 43 kB / 0.8819 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.004514, allocations: 8 kB / 0.8819 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.004519, allocations: 3.938 kB / 0.8819 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.004531, allocations: 0 / 0.8819 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.885e-05/0.0046, allocations: 12.58 kB / 0.8819 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.004605, allocations: 1.125 kB / 0.8819 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.358e-05/0.004628, allocations: 7.938 kB / 0.8819 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.004634, allocations: 4.25 kB / 0.8819 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.068e-05/0.004674, allocations: 138.9 kB / 0.882 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.335e-05/0.004698, allocations: 41.08 kB / 0.8821 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.468e-05/0.004712, allocations: 19.62 kB / 0.8821 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.91e-07/0.004713, allocations: 0 / 0.8821 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 3.639e-05/0.004749, allocations: 41.66 kB / 0.8821 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.84e-06/0.004754, allocations: 7.984 kB / 0.8821 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.72e-07/0.004755, allocations: 0 / 0.8821 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-06/0.004757, allocations: 3.938 kB / 0.8821 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.646e-05/0.004773, allocations: 8 kB / 0.8822 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-06/0.004775, allocations: 8.062 kB / 0.8822 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.523e-05/0.00479, allocations: 4 kB / 0.8822 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.004793, allocations: 3.984 kB / 0.8822 GB, free: 1.844 MB / 0.8386 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 7.664e-05/0.00487, allocations: 264.1 kB / 0.8824 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.004883, allocations: 4 kB / 0.8824 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.004909, allocations: 11.56 kB / 0.8824 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.004911, allocations: 0 / 0.8824 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.004915, allocations: 0 / 0.8824 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.004918, allocations: 7.984 kB / 0.8824 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.927e-05/0.005008, allocations: 116.6 kB / 0.8826 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.005008, allocations: 7.938 kB / 0.8826 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-05/0.005031, allocations: 11.98 kB / 0.8826 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-07/0.005031, allocations: 0 / 0.8826 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.005037, allocations: 256 / 0.8826 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.00504, allocations: 7.938 kB / 0.8826 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.005041, allocations: 0 / 0.8826 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.76e-05/0.005129, allocations: 191.9 kB / 0.8828 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-06/0.005134, allocations: 0 / 0.8828 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.348e-06/0.005143, allocations: 4 kB / 0.8828 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.448e-05/0.005178, allocations: 11.97 kB / 0.8828 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.005208, allocations: 3.984 kB / 0.8828 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.00521, allocations: 0 / 0.8828 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.249e-05/0.005243, allocations: 127.2 kB / 0.8829 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005243, allocations: 0 / 0.8829 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001594/0.005402, allocations: 8 kB / 0.8829 GB, free: 1.023 MB / 0.8386 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 6.69e-05/0.005469, allocations: 99.17 kB / 0.883 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.005724, allocations: 27.38 kB / 0.883 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.005727, allocations: 4.125 kB / 0.883 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.96e-05/0.005746, allocations: 23.67 kB / 0.8831 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.005919, allocations: 4 kB / 0.8831 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.006179, allocations: 122.3 kB / 0.8832 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.185e-05/0.006211, allocations: 55.34 kB / 0.8832 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.696e-05/0.006228, allocations: 4 kB / 0.8832 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.006253, allocations: 8.5 kB / 0.8832 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/0.006254, allocations: 4.062 kB / 0.8832 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of Templates: time 0.002222/0.008476, allocations: 0.7019 MB / 0.8839 GB, free: 15.92 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.436948067042977]