Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001498/0.001498, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001766/0.001766, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.516/1.516, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.835/2.835, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 0 / 0.8109 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.777e-05/4.098e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002906/0.002947, allocations: 0.6759 MB / 0.8115 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.004705, allocations: 0.8175 MB / 0.8123 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.004747, allocations: 0 / 0.8123 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.585e-05/0.004782, allocations: 3.938 kB / 0.8123 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.054e-05/0.004863, allocations: 3.938 kB / 0.8123 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 8.36e-05/0.004947, allocations: 13.02 kB / 0.8124 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.005048, allocations: 19.94 kB / 0.8124 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.005177, allocations: 7.984 kB / 0.8124 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.8e-05/0.005275, allocations: 12.77 kB / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.005328, allocations: 11.98 kB / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.005348, allocations: 1.688 kB / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.005359, allocations: 7.938 kB / 0.8124 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.00538, allocations: 4 kB / 0.8124 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.005413, allocations: 7.922 kB / 0.8124 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.005527, allocations: 25.5 kB / 0.8124 GB, free: 452 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.00553, allocations: 0 / 0.8124 GB, free: 452 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.994e-06/0.005532, allocations: 0 / 0.8124 GB, free: 452 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.005538, allocations: 0 / 0.8124 GB, free: 452 kB / 0.7605 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.0006126/0.00615, allocations: 260.1 kB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.006198, allocations: 12.03 kB / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.00625, allocations: 4.875 kB / 0.8127 GB, free: 144 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.006421, allocations: 113.7 kB / 0.8128 GB, free: 4 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.006436, allocations: 1.5 kB / 0.8128 GB, free: 4 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.00645, allocations: 4.375 kB / 0.8128 GB, free: 0 / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.006717, allocations: 43.86 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.006731, allocations: 4.172 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.006741, allocations: 4.375 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.006746, allocations: 384 / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.00702, allocations: 38.44 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.007477, allocations: 200.6 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.007668, allocations: 34.56 kB / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.007812, allocations: 25.41 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.007829, allocations: 0.7188 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.007879, allocations: 30.56 kB / 0.8132 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.00788, allocations: 0.5312 kB / 0.8132 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0005347/0.008415, allocations: 91.17 kB / 0.8133 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.008486, allocations: 51.91 kB / 0.8133 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.008625, allocations: 105.8 kB / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001461/0.008771, allocations: 26.3 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.008844, allocations: 80.92 kB / 0.8135 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.008871, allocations: 15.86 kB / 0.8135 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.008919, allocations: 10.88 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002186/0.009138, allocations: 318.8 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.009267, allocations: 15.98 kB / 0.8139 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.009379, allocations: 13.36 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.009623, allocations: 50.28 kB / 0.8139 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.009625, allocations: 0 / 0.8139 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003118/0.009936, allocations: 62.58 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.00996, allocations: 4.844 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.00997, allocations: 3.938 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.009995, allocations: 6.219 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.01012, allocations: 7.984 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01012, allocations: 0 / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.586e-05/0.0102, allocations: 7.984 kB / 0.814 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.01021, allocations: 0 / 0.814 GB, free: 14.67 MB / 0.7761 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.0001289/0.01034, allocations: 120.5 kB / 0.8141 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.01038, allocations: 3.953 kB / 0.8141 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.01041, allocations: 11.25 kB / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.01041, allocations: 0 / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.01042, allocations: 256 / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01042, allocations: 3.938 kB / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.01066, allocations: 109.3 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01066, allocations: 1.562 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.573e-05/0.01076, allocations: 11.98 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01076, allocations: 0 / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.01077, allocations: 0 / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.01077, allocations: 4.438 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01078, allocations: 1.344 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.01118, allocations: 160.4 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.01119, allocations: 7.984 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.01121, allocations: 0 / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.01134, allocations: 12.58 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.01139, allocations: 3.688 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.0114, allocations: 0 / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.819e-05/0.01148, allocations: 87.28 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01148, allocations: 0 / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004123/0.01189, allocations: 3.938 kB / 0.8145 GB, free: 14.09 MB / 0.7761 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.0001688/0.01206, allocations: 101.3 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002857/0.01234, allocations: 33.72 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01234, allocations: 4 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.01247, allocations: 15.98 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.01297, allocations: 19.28 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.01341, allocations: 108.7 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.01352, allocations: 68.28 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.598e-05/0.01356, allocations: 5.109 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.0136, allocations: 8.5 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.0136, allocations: 0 / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of Templates: time 0.004092/0.01769, allocations: 475.7 kB / 0.8153 GB, free: 13.24 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.775914701051079]