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.00098/0.00098, allocations: 92.22 kB / 19.65 MB, free: 276 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.001542/0.001542, 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 0.9758/0.9758, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.148/2.148, allocations: 429.5 MB / 0.6733 GB, free: 4.023 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 4.418e-06/4.418e-06, allocations: 0 / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.887e-05/4.329e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001894/0.001937, allocations: 0.7005 MB / 0.8789 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009752/0.002912, allocations: 0.881 MB / 0.8798 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.002944, allocations: 0 / 0.8798 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.002975, allocations: 4.438 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.787e-05/0.003043, allocations: 5.969 kB / 0.8798 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.003223, allocations: 23.84 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.972e-05/0.003293, allocations: 31.92 kB / 0.8799 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.546e-05/0.003388, allocations: 7.984 kB / 0.8799 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.661e-05/0.003475, allocations: 20.8 kB / 0.8799 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.003517, allocations: 11.98 kB / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.003537, allocations: 1.344 kB / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-06/0.003547, allocations: 7.938 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.003562, allocations: 4 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.003583, allocations: 13.55 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.841e-05/0.003672, allocations: 19.97 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.003674, allocations: 0 / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003675, allocations: 4 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.00368, allocations: 3.938 kB / 0.8799 GB, free: 4.531 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.0003887/0.004069, allocations: 370 kB / 0.8803 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.004116, allocations: 12.03 kB / 0.8803 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.004161, allocations: 8.047 kB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.468e-05/0.004246, allocations: 120.5 kB / 0.8804 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.004258, allocations: 384 / 0.8804 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.00427, allocations: 4.375 kB / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.004413, allocations: 58.94 kB / 0.8805 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.004422, allocations: 192 / 0.8805 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.004432, allocations: 4.375 kB / 0.8805 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.00444, allocations: 384 / 0.8805 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.43e-05/0.004474, allocations: 8.531 kB / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.004771, allocations: 261.2 kB / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.547e-05/0.004837, allocations: 38.98 kB / 0.8808 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/0.00486, allocations: 15.75 kB / 0.8808 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.004878, allocations: 4 kB / 0.8808 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.004897, allocations: 33.39 kB / 0.8808 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.004898, allocations: 4 kB / 0.8808 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001478/0.005046, allocations: 45.58 kB / 0.8809 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.005074, allocations: 63.34 kB / 0.8809 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.763e-05/0.005142, allocations: 158.1 kB / 0.8811 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.005153, allocations: 29.7 kB / 0.8811 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.005198, allocations: 130.9 kB / 0.8813 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.005213, allocations: 3.953 kB / 0.8813 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.005242, allocations: 23.38 kB / 0.8813 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.005357, allocations: 0.4885 MB / 0.8818 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.005381, allocations: 11.69 kB / 0.8818 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.864e-05/0.00542, allocations: 53.14 kB / 0.8818 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.028e-05/0.00545, allocations: 15.69 kB / 0.8818 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.005452, allocations: 0 / 0.8818 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.814e-05/0.00551, allocations: 49.62 kB / 0.8819 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.00552, allocations: 4 kB / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.005525, allocations: 3.938 kB / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.005539, allocations: 128 / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.763e-05/0.005607, allocations: 19.92 kB / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.005611, allocations: 0 / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/0.005634, allocations: 7.938 kB / 0.8819 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.005638, allocations: 4 kB / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.048e-05/0.005679, allocations: 130.9 kB / 0.882 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.151e-05/0.0057, allocations: 45.08 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.384e-05/0.005714, allocations: 15.69 kB / 0.8821 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.51e-07/0.005715, allocations: 0 / 0.8821 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 3.777e-05/0.005752, allocations: 45.69 kB / 0.8821 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.31e-06/0.005758, allocations: 10.34 kB / 0.8822 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.31e-07/0.005758, allocations: 0 / 0.8822 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-06/0.005761, allocations: 7.922 kB / 0.8822 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.45e-05/0.005775, allocations: 4 kB / 0.8822 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.41e-07/0.005776, allocations: 0 / 0.8822 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.64e-05/0.005792, allocations: 8 kB / 0.8822 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-06/0.005793, allocations: 0 / 0.8822 GB, free: 1.996 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 6.753e-05/0.005861, allocations: 272.1 kB / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.005874, allocations: 0 / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.005898, allocations: 19.58 kB / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.005901, allocations: 0 / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.005903, allocations: 0 / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.005906, allocations: 0 / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.036e-05/0.005996, allocations: 120.6 kB / 0.8826 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.005997, allocations: 0 / 0.8826 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/0.006019, allocations: 11.98 kB / 0.8826 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.006019, allocations: 0 / 0.8826 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.006026, allocations: 0 / 0.8826 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.006027, allocations: 3.938 kB / 0.8826 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.006029, allocations: 7.938 kB / 0.8826 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.765e-05/0.006117, allocations: 191.9 kB / 0.8828 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-06/0.006121, allocations: 4 kB / 0.8828 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.006132, allocations: 0 / 0.8828 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.504e-05/0.006167, allocations: 11.94 kB / 0.8828 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.00621, allocations: 7.984 kB / 0.8828 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-06/0.006213, allocations: 4 kB / 0.8828 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.44e-05/0.006247, allocations: 123.2 kB / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.01e-07/0.006248, allocations: 3.938 kB / 0.8829 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001721/0.00642, allocations: 4 kB / 0.8829 GB, free: 1.168 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 7.2e-05/0.006492, allocations: 103.3 kB / 0.883 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.24e-05/0.006584, allocations: 35.31 kB / 0.8831 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.006585, allocations: 0 / 0.8831 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.945e-05/0.006605, allocations: 15.67 kB / 0.8831 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.006775, allocations: 4 kB / 0.8831 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.007025, allocations: 118.5 kB / 0.8832 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.267e-05/0.007057, allocations: 63.34 kB / 0.8832 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.502e-05/0.007072, allocations: 0 / 0.8832 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.007101, allocations: 16.5 kB / 0.8833 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of SimCode: time 4.4e-07/0.007102, allocations: 3.938 kB / 0.8833 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of Templates: time 0.001997/0.009099, allocations: 0.6576 MB / 0.8839 GB, free: 100 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.493257706984878]