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.001051/0.001051, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001684/0.001684, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.004/1.004, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.092/2.092, allocations: 429.5 MB / 0.6736 GB, free: 4.066 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.493e-06/1.493e-06, allocations: 0 / 0.8783 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.686e-05, allocations: 4.984 kB / 0.8783 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001086/0.001103, allocations: 0.6992 MB / 0.8789 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007569/0.00186, allocations: 0.876 MB / 0.8798 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.001891, allocations: 0 / 0.8798 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.085e-05/0.001912, allocations: 0 / 0.8798 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.742e-05/0.001969, allocations: 9.672 kB / 0.8798 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.002106, allocations: 21.52 kB / 0.8798 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.339e-05/0.002179, allocations: 35.86 kB / 0.8799 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.809e-05/0.002258, allocations: 7.984 kB / 0.8799 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.002324, allocations: 15.98 kB / 0.8799 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.838e-05/0.002363, allocations: 21.84 kB / 0.8799 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.002381, allocations: 0 / 0.8799 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.094e-06/0.002388, allocations: 4 kB / 0.8799 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.002403, allocations: 3.938 kB / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.002422, allocations: 11.94 kB / 0.8799 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 6.84e-05/0.00249, allocations: 26.62 kB / 0.8799 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002492, allocations: 0 / 0.8799 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.9e-07/0.002493, allocations: 0 / 0.8799 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.002496, allocations: 4 kB / 0.88 GB, free: 4.887 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.0003164/0.002812, allocations: 368.6 kB / 0.8803 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.002844, allocations: 8.031 kB / 0.8803 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.002876, allocations: 9.609 kB / 0.8803 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.553e-05/0.002952, allocations: 116.5 kB / 0.8804 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.002961, allocations: 2.031 kB / 0.8804 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.002968, allocations: 384 / 0.8804 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.003087, allocations: 66.94 kB / 0.8805 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-06/0.003091, allocations: 192 / 0.8805 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.003099, allocations: 1.719 kB / 0.8805 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.003104, allocations: 384 / 0.8805 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.3e-05/0.003137, allocations: 11.88 kB / 0.8805 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/0.003402, allocations: 267.8 kB / 0.8808 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.878e-05/0.003461, allocations: 39.05 kB / 0.8808 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.003481, allocations: 11.75 kB / 0.8808 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.003495, allocations: 0 / 0.8808 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.003513, allocations: 37.33 kB / 0.8808 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.003514, allocations: 0 / 0.8808 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001278/0.003642, allocations: 53.58 kB / 0.8809 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.003668, allocations: 51.41 kB / 0.881 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.544e-05/0.003734, allocations: 165.9 kB / 0.8811 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.003744, allocations: 29.83 kB / 0.8811 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.003783, allocations: 134.9 kB / 0.8813 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.003797, allocations: 3.953 kB / 0.8813 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.003823, allocations: 19.38 kB / 0.8813 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.003921, allocations: 0.4884 MB / 0.8818 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.003943, allocations: 11.94 kB / 0.8818 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.72e-05/0.003981, allocations: 49.02 kB / 0.8818 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.889e-05/0.004009, allocations: 23.69 kB / 0.8818 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004011, allocations: 0 / 0.8818 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.995e-05/0.004091, allocations: 45.78 kB / 0.8819 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.004101, allocations: 4 kB / 0.8819 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.004106, allocations: 3.938 kB / 0.8819 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.004114, allocations: 0 / 0.8819 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.912e-05/0.004174, allocations: 11.98 kB / 0.8819 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.004178, allocations: 0 / 0.8819 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/0.004201, allocations: 7.938 kB / 0.8819 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.004205, allocations: 4 kB / 0.8819 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.907e-05/0.004244, allocations: 138.8 kB / 0.8821 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.318e-05/0.004267, allocations: 53.05 kB / 0.8821 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.431e-05/0.004282, allocations: 11.69 kB / 0.8821 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.81e-07/0.004282, allocations: 0 / 0.8821 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 3.611e-05/0.004318, allocations: 41.66 kB / 0.8822 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.212e-06/0.004324, allocations: 14.02 kB / 0.8822 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.31e-07/0.004325, allocations: 0 / 0.8822 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-06/0.004326, allocations: 3.938 kB / 0.8822 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.476e-05/0.004341, allocations: 4 kB / 0.8822 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.91e-07/0.004342, allocations: 0 / 0.8822 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.549e-05/0.004357, allocations: 4.125 kB / 0.8822 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-06/0.004359, allocations: 11.92 kB / 0.8822 GB, free: 2.34 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.004e-05/0.004429, allocations: 268.1 kB / 0.8824 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.004442, allocations: 0 / 0.8824 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.054e-05/0.004462, allocations: 15.56 kB / 0.8825 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.004463, allocations: 0 / 0.8825 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.004466, allocations: 0 / 0.8825 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.004469, allocations: 3.984 kB / 0.8825 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.523e-05/0.004555, allocations: 116.6 kB / 0.8826 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.22e-07/0.004555, allocations: 0 / 0.8826 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.004577, allocations: 11.98 kB / 0.8826 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.32e-07/0.004578, allocations: 4 kB / 0.8826 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.004584, allocations: 0 / 0.8826 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.004585, allocations: 3.938 kB / 0.8826 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.004587, allocations: 4 kB / 0.8826 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.443e-05/0.004672, allocations: 187.9 kB / 0.8828 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-06/0.004678, allocations: 7.938 kB / 0.8828 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-06/0.004686, allocations: 0 / 0.8828 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.387e-05/0.00472, allocations: 11.94 kB / 0.8828 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.004748, allocations: 3.984 kB / 0.8828 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.00475, allocations: 32 / 0.8828 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.118e-05/0.004781, allocations: 131.2 kB / 0.8829 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.004781, allocations: 0 / 0.8829 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000168/0.004949, allocations: 8 kB / 0.8829 GB, free: 1.52 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.49e-05/0.005014, allocations: 99.23 kB / 0.883 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.479e-05/0.005098, allocations: 27.38 kB / 0.8831 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.0051, allocations: 3.938 kB / 0.8831 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.293e-05/0.005123, allocations: 23.61 kB / 0.8831 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.005281, allocations: 8.188 kB / 0.8831 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002266/0.005507, allocations: 118.4 kB / 0.8832 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.956e-05/0.005537, allocations: 59.34 kB / 0.8833 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.599e-05/0.005553, allocations: 0 / 0.8833 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.005578, allocations: 12.5 kB / 0.8833 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of SimCode: time 3.8e-07/0.005578, allocations: 0 / 0.8833 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of Templates: time 0.001883/0.007461, allocations: 0.667 MB / 0.8839 GB, free: 468 kB / 0.8386 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.511888660956174]