Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.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.00139/0.00139, 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.001476/0.001476, allocations: 173 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.002/1.002, allocations: 177.2 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.074/2.074, allocations: 429.5 MB / 0.6733 GB, free: 4.039 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.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.326e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001336/0.00136, allocations: 0.6884 MB / 0.8789 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008481/0.002208, allocations: 0.8378 MB / 0.8797 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.002243, allocations: 4 kB / 0.8797 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.002275, allocations: 4.688 kB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.594e-05/0.002351, allocations: 4.594 kB / 0.8797 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.625e-05/0.002418, allocations: 4.875 kB / 0.8798 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.649e-05/0.002494, allocations: 27.92 kB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.626e-05/0.00259, allocations: 9.062 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.544e-05/0.002666, allocations: 11.94 kB / 0.8798 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.59e-05/0.002702, allocations: 11.98 kB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.002731, allocations: 5.094 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.272e-06/0.002737, allocations: 0 / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.002754, allocations: 3.938 kB / 0.8798 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.002779, allocations: 13.08 kB / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.845e-05/0.002858, allocations: 11.98 kB / 0.8798 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.00286, allocations: 0 / 0.8798 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.32e-07/0.002861, allocations: 0.9688 kB / 0.8798 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.002866, allocations: 0 / 0.8798 GB, free: 4.625 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.0003644/0.00323, allocations: 361.3 kB / 0.8802 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.003266, allocations: 8.031 kB / 0.8802 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.003303, allocations: 9.422 kB / 0.8802 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.661e-05/0.00339, allocations: 120.5 kB / 0.8803 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.0034, allocations: 3.812 kB / 0.8803 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.003409, allocations: 384 / 0.8803 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.003527, allocations: 50.95 kB / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.003534, allocations: 192 / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.003544, allocations: 384 / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.003553, allocations: 4.312 kB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.877e-05/0.003582, allocations: 7.938 kB / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.003886, allocations: 251.8 kB / 0.8806 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.275e-05/0.003949, allocations: 31.66 kB / 0.8807 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.003978, allocations: 12.34 kB / 0.8807 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.003985, allocations: 1.531 kB / 0.8807 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.004011, allocations: 41.33 kB / 0.8807 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.004012, allocations: 0 / 0.8807 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001448/0.004157, allocations: 45.62 kB / 0.8808 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.004189, allocations: 55.53 kB / 0.8808 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.604e-05/0.004265, allocations: 157.9 kB / 0.881 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.004276, allocations: 29.7 kB / 0.881 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.004325, allocations: 134.8 kB / 0.8811 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.004342, allocations: 3.953 kB / 0.8811 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.004367, allocations: 19.38 kB / 0.8811 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.004497, allocations: 496.1 kB / 0.8816 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.004513, allocations: 4 kB / 0.8816 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-06/0.004523, allocations: 0 / 0.8816 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.739e-05/0.00455, allocations: 19.67 kB / 0.8816 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.004553, allocations: 4.25 kB / 0.8816 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.1e-05/0.004604, allocations: 37.7 kB / 0.8817 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.004625, allocations: 8 kB / 0.8817 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.004631, allocations: 7.938 kB / 0.8817 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.004645, allocations: 0 / 0.8817 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.919e-05/0.004714, allocations: 4 kB / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.004719, allocations: 0 / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.708e-05/0.004736, allocations: 7.984 kB / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.00474, allocations: 0 / 0.8817 GB, free: 2.523 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.38e-05/0.004804, allocations: 156.6 kB / 0.8818 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.004818, allocations: 11.94 kB / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.004843, allocations: 11.19 kB / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.004845, allocations: 0 / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.004848, allocations: 0 / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.004852, allocations: 0 / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.352e-05/0.004945, allocations: 124.6 kB / 0.882 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.004946, allocations: 0 / 0.882 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-05/0.004963, allocations: 4 kB / 0.882 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.004965, allocations: 3.984 kB / 0.882 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.004972, allocations: 0 / 0.882 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.004973, allocations: 7.938 kB / 0.882 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.004976, allocations: 3.984 kB / 0.882 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.857e-05/0.005075, allocations: 187.9 kB / 0.8822 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-06/0.005081, allocations: 0 / 0.8822 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-06/0.00509, allocations: 0 / 0.8822 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.044e-05/0.00512, allocations: 11.92 kB / 0.8822 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.005157, allocations: 3.938 kB / 0.8822 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.00516, allocations: 4 kB / 0.8822 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.605e-05/0.005196, allocations: 123.2 kB / 0.8823 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005196, allocations: 0 / 0.8823 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001304/0.005327, allocations: 12.03 kB / 0.8823 GB, free: 1.805 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.68e-05/0.005404, allocations: 95.25 kB / 0.8824 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.344e-05/0.005487, allocations: 11.69 kB / 0.8824 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.005488, allocations: 0 / 0.8824 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.642e-05/0.005505, allocations: 11.69 kB / 0.8824 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.005694, allocations: 7.984 kB / 0.8825 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.005965, allocations: 118.5 kB / 0.8826 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.354e-05/0.005999, allocations: 51.36 kB / 0.8826 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.763e-05/0.006016, allocations: 4 kB / 0.8826 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.006044, allocations: 8.5 kB / 0.8826 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of SimCode: time 1.132e-06/0.006045, allocations: 0 / 0.8826 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of Templates: time 0.002301/0.008346, allocations: 0.5112 MB / 0.8831 GB, free: 0.9375 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.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.420736587140709]