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.001108/0.001108, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001073/0.001073, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.013/1.013, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.245/2.245, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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 3.427e-06/3.427e-06, allocations: 0 / 0.8795 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.322e-05/3.665e-05, allocations: 2.312 kB / 0.8795 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001941/0.001978, allocations: 0.6941 MB / 0.8801 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.003255, allocations: 0.8728 MB / 0.881 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.97e-05/0.003315, allocations: 4 kB / 0.881 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/0.003353, allocations: 3.938 kB / 0.881 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.003458, allocations: 9.562 kB / 0.881 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.003701, allocations: 19.92 kB / 0.881 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.231e-05/0.003794, allocations: 35.86 kB / 0.8811 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.003916, allocations: 4.938 kB / 0.8811 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.004029, allocations: 15.98 kB / 0.8811 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.733e-05/0.004096, allocations: 15.97 kB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.004123, allocations: 5.031 kB / 0.8811 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.004136, allocations: 4 kB / 0.8811 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.891e-05/0.004165, allocations: 5.062 kB / 0.8811 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.004193, allocations: 11.98 kB / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.004319, allocations: 23.92 kB / 0.8812 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.004324, allocations: 1.062 kB / 0.8812 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.715e-06/0.004326, allocations: 0 / 0.8812 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.004334, allocations: 0 / 0.8812 GB, free: 4.254 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.0005545/0.004889, allocations: 377.5 kB / 0.8815 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.004941, allocations: 8.031 kB / 0.8815 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.004992, allocations: 12.42 kB / 0.8815 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.005111, allocations: 116.6 kB / 0.8816 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.005127, allocations: 384 / 0.8816 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.005138, allocations: 384 / 0.8816 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.005309, allocations: 58.94 kB / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.005318, allocations: 192 / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.005331, allocations: 4.375 kB / 0.8817 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.005338, allocations: 384 / 0.8817 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.618e-05/0.005374, allocations: 15.86 kB / 0.8817 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.00579, allocations: 241.1 kB / 0.882 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.302e-05/0.005873, allocations: 39.62 kB / 0.882 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.005897, allocations: 12.53 kB / 0.882 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.00592, allocations: 0 / 0.882 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.005948, allocations: 38.27 kB / 0.882 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.00595, allocations: 0 / 0.882 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001896/0.006139, allocations: 55.05 kB / 0.8821 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.006185, allocations: 51.41 kB / 0.8821 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.006287, allocations: 166.1 kB / 0.8823 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.006305, allocations: 26.67 kB / 0.8823 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.006373, allocations: 130.9 kB / 0.8824 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.006399, allocations: 7.953 kB / 0.8825 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.006439, allocations: 20.12 kB / 0.8825 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.006621, allocations: 0.4884 MB / 0.883 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.468e-05/0.006656, allocations: 15.81 kB / 0.883 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.822e-05/0.006704, allocations: 49.14 kB / 0.883 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.052e-05/0.006744, allocations: 15.62 kB / 0.883 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.006746, allocations: 0 / 0.883 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.657e-05/0.006833, allocations: 45.69 kB / 0.8831 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.00685, allocations: 4 kB / 0.8831 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.006858, allocations: 4 kB / 0.8831 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.006871, allocations: 3.938 kB / 0.8831 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.006965, allocations: 7.984 kB / 0.8831 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.006969, allocations: 4.125 kB / 0.8831 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.169e-05/0.007, allocations: 11.94 kB / 0.8831 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.007006, allocations: 0 / 0.8831 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.908e-05/0.007065, allocations: 134.8 kB / 0.8832 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.167e-05/0.007097, allocations: 49.02 kB / 0.8833 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.789e-05/0.007115, allocations: 15.69 kB / 0.8833 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.71e-07/0.007115, allocations: 0 / 0.8833 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 5.162e-05/0.007167, allocations: 37.66 kB / 0.8833 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/0.007175, allocations: 8.125 kB / 0.8833 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-06/0.007177, allocations: 7.984 kB / 0.8833 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-06/0.007179, allocations: 0 / 0.8833 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.194e-05/0.007201, allocations: 4 kB / 0.8834 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.007203, allocations: 3.938 kB / 0.8834 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/0.007221, allocations: 4 kB / 0.8834 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-06/0.007222, allocations: 0 / 0.8834 GB, free: 1.754 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 0.000121/0.007343, allocations: 276 kB / 0.8836 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.007362, allocations: 0 / 0.8836 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/0.007395, allocations: 11.62 kB / 0.8836 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.007399, allocations: 7.938 kB / 0.8836 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.007401, allocations: 0 / 0.8836 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.007405, allocations: 0 / 0.8836 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.007552, allocations: 101.2 kB / 0.8837 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.007554, allocations: 0 / 0.8837 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.007594, allocations: 8 kB / 0.8837 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.007595, allocations: 0 / 0.8837 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.007603, allocations: 3.984 kB / 0.8837 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.007605, allocations: 0 / 0.8837 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.007607, allocations: 0 / 0.8837 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.007745, allocations: 195.8 kB / 0.8839 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.007756, allocations: 0 / 0.8839 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.007769, allocations: 7.984 kB / 0.8839 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.578e-05/0.007805, allocations: 8 kB / 0.884 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.007843, allocations: 3.938 kB / 0.884 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.007848, allocations: 7.922 kB / 0.884 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.546e-05/0.007893, allocations: 123.2 kB / 0.8841 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/0.007893, allocations: 0 / 0.8841 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001818/0.008075, allocations: 12 kB / 0.8841 GB, free: 0.9531 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 0.0001485/0.008223, allocations: 95.28 kB / 0.8842 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.008347, allocations: 31.36 kB / 0.8842 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.00835, allocations: 3.938 kB / 0.8842 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.583e-05/0.008386, allocations: 15.62 kB / 0.8842 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.008612, allocations: 7.984 kB / 0.8842 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.008931, allocations: 122.3 kB / 0.8844 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.218e-05/0.008973, allocations: 63.47 kB / 0.8844 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.005e-05/0.008993, allocations: 4 kB / 0.8844 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.009053, allocations: 70.2 kB / 0.8845 GB, free: 484 kB / 0.8386 GB Notification: Performance of SimCode: time 1.162e-06/0.009054, allocations: 0 / 0.8845 GB, free: 484 kB / 0.8386 GB Notification: Performance of Templates: time 0.002813/0.01187, allocations: 0.7347 MB / 0.8852 GB, free: 15.75 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.920937484130263]