Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.0009169/0.0009169, 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.0009268/0.0009268, allocations: 173 kB / 23.03 MB, free: 1.543 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.9145/0.9145, 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.206/2.206, allocations: 429.5 MB / 0.6733 GB, free: 4.047 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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/2.007e-05, allocations: 3.062 kB / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001158/0.001178, allocations: 0.6859 MB / 0.8789 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008055/0.001983, allocations: 0.8916 MB / 0.8798 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.002011, allocations: 0.9375 kB / 0.8798 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/0.002035, allocations: 0 / 0.8798 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.392e-05/0.002099, allocations: 13.2 kB / 0.8798 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.002239, allocations: 7.938 kB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.241e-05/0.002301, allocations: 27.92 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.886e-05/0.00238, allocations: 1.094 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.628e-05/0.002447, allocations: 15.97 kB / 0.8798 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.33e-05/0.00248, allocations: 13.11 kB / 0.8799 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.002501, allocations: 4 kB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.633e-06/0.002508, allocations: 0 / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.002522, allocations: 3.938 kB / 0.8799 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.002541, allocations: 8.969 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 6.579e-05/0.002607, allocations: 15.92 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.002609, allocations: 0.6562 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.21e-07/0.00261, allocations: 0 / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.002613, allocations: 0.5938 kB / 0.8799 GB, free: 4.57 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.0003058/0.002919, allocations: 361.7 kB / 0.8802 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.00295, allocations: 8.031 kB / 0.8802 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.002981, allocations: 8.922 kB / 0.8803 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.67e-05/0.003058, allocations: 113.3 kB / 0.8804 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.003066, allocations: 384 / 0.8804 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.003075, allocations: 5.594 kB / 0.8804 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.003176, allocations: 54.95 kB / 0.8804 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.003182, allocations: 192 / 0.8804 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.003189, allocations: 1.156 kB / 0.8804 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.003195, allocations: 384 / 0.8804 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.638e-05/0.003221, allocations: 12.48 kB / 0.8804 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002418/0.003463, allocations: 249.3 kB / 0.8807 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.661e-05/0.00351, allocations: 34.94 kB / 0.8807 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.003529, allocations: 11.72 kB / 0.8807 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.003544, allocations: 4.062 kB / 0.8807 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.003562, allocations: 34.2 kB / 0.8808 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 6.01e-07/0.003562, allocations: 0 / 0.8808 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001211/0.003683, allocations: 46.48 kB / 0.8808 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.003708, allocations: 55.06 kB / 0.8808 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.373e-05/0.003772, allocations: 165.9 kB / 0.881 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.003781, allocations: 25.7 kB / 0.881 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.003818, allocations: 126.9 kB / 0.8812 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.003834, allocations: 11.89 kB / 0.8812 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.003859, allocations: 23.38 kB / 0.8812 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.003961, allocations: 496.1 kB / 0.8817 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.003979, allocations: 4 kB / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-06/0.003986, allocations: 0 / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.772e-05/0.004014, allocations: 16.34 kB / 0.8817 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.004016, allocations: 0 / 0.8817 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.364e-05/0.004059, allocations: 42.23 kB / 0.8817 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.004071, allocations: 16.2 kB / 0.8817 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.004076, allocations: 3.938 kB / 0.8817 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.004086, allocations: 0 / 0.8817 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.636e-05/0.004142, allocations: 4 kB / 0.8817 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.004146, allocations: 0 / 0.8817 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.572e-05/0.004162, allocations: 7.953 kB / 0.8817 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.004166, allocations: 0 / 0.8817 GB, free: 2.469 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 5.294e-05/0.004219, allocations: 160.6 kB / 0.8819 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.004231, allocations: 4 kB / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.004251, allocations: 7.25 kB / 0.8819 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.004252, allocations: 4 kB / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.004254, allocations: 0 / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.004256, allocations: 0 / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.774e-05/0.004334, allocations: 116.6 kB / 0.882 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.004335, allocations: 0 / 0.882 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.618e-05/0.004351, allocations: 8 kB / 0.882 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.004352, allocations: 192 / 0.882 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.004358, allocations: 0 / 0.882 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.004359, allocations: 7.875 kB / 0.882 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.00436, allocations: 0 / 0.882 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.19e-05/0.004442, allocations: 195.9 kB / 0.8822 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-06/0.004446, allocations: 4.031 kB / 0.8822 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-06/0.004454, allocations: 0 / 0.8822 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.925e-05/0.004483, allocations: 7.938 kB / 0.8822 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.004512, allocations: 3.984 kB / 0.8822 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.004513, allocations: 0 / 0.8822 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.019e-05/0.004543, allocations: 123.2 kB / 0.8824 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004543, allocations: 0 / 0.8824 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001267/0.00467, allocations: 4 kB / 0.8824 GB, free: 1.77 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.367e-05/0.004734, allocations: 95.25 kB / 0.8825 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.703e-05/0.004801, allocations: 27.61 kB / 0.8825 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.004802, allocations: 0 / 0.8825 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.491e-05/0.004817, allocations: 11.69 kB / 0.8825 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.004977, allocations: 2.656 kB / 0.8825 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002167/0.005193, allocations: 110.4 kB / 0.8826 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.485e-05/0.005228, allocations: 59.34 kB / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.453e-05/0.005243, allocations: 4.125 kB / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.005265, allocations: 8.5 kB / 0.8827 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of SimCode: time 3.6e-07/0.005266, allocations: 0 / 0.8827 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of Templates: time 0.001815/0.007081, allocations: 0.4969 MB / 0.8832 GB, free: 0.9062 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.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.319668882060796]