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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00192/0.00192, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002265/0.002265, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.293/3.293, allocations: 496 MB / 0.7835 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002024/0.002024, allocations: 68.34 kB / 1.138 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4382, allocations: 173.6 MB / 1.307 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002223/0.4404, allocations: 0.6937 MB / 1.308 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.4415, allocations: 0.7927 MB / 1.309 GB, free: 244 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.4416, allocations: 0 / 1.309 GB, free: 244 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.4416, allocations: 3.938 kB / 1.309 GB, free: 240 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.127e-05/0.4417, allocations: 7.938 kB / 1.309 GB, free: 232 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.271e-05/0.4418, allocations: 3.984 kB / 1.309 GB, free: 228 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.015e-05/0.4419, allocations: 27.92 kB / 1.309 GB, free: 200 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.442, allocations: 4 kB / 1.309 GB, free: 196 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.085e-05/0.442, allocations: 11.98 kB / 1.309 GB, free: 184 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.4421, allocations: 11.92 kB / 1.309 GB, free: 172 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.4421, allocations: 8 kB / 1.309 GB, free: 164 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.991e-06/0.4421, allocations: 0 / 1.309 GB, free: 164 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.4421, allocations: 4 kB / 1.309 GB, free: 160 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.4422, allocations: 11.94 kB / 1.309 GB, free: 148 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.585e-05/0.4423, allocations: 27.83 kB / 1.309 GB, free: 120 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4423, allocations: 0 / 1.309 GB, free: 120 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4423, allocations: 0 / 1.309 GB, free: 120 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.4423, allocations: 0 / 1.309 GB, free: 120 kB / 0.9981 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.0005063/0.4428, allocations: 264.4 kB / 1.309 GB, free: 15.83 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.4428, allocations: 12.92 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.4429, allocations: 0.9375 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.443, allocations: 106.5 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.443, allocations: 4.375 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.443, allocations: 4.375 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.4432, allocations: 50.17 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.4432, allocations: 4.188 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.4432, allocations: 3.938 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4432, allocations: 0 / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.4434, allocations: 39.89 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.4437, allocations: 220 kB / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.4439, allocations: 38.5 kB / 1.31 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.546e-05/0.444, allocations: 36.83 kB / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.444, allocations: 0 / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.444, allocations: 34.5 kB / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.444, allocations: 0 / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003451/0.4444, allocations: 81.64 kB / 1.31 GB, free: 15.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.4444, allocations: 51.53 kB / 1.31 GB, free: 15.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.903e-05/0.4445, allocations: 109.9 kB / 1.31 GB, free: 14.93 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.4445, allocations: 25.7 kB / 1.31 GB, free: 14.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.4446, allocations: 84.12 kB / 1.31 GB, free: 14.81 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.4446, allocations: 11.88 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.4446, allocations: 17.72 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.4448, allocations: 310.8 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.4449, allocations: 19.92 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.798e-05/0.445, allocations: 23.97 kB / 1.31 GB, free: 14.42 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.4451, allocations: 36.83 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4451, allocations: 0 / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001903/0.4453, allocations: 69.59 kB / 1.31 GB, free: 14.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4453, allocations: 12.09 kB / 1.31 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4454, allocations: 0 / 1.31 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/0.4454, allocations: 0 / 1.31 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.815e-05/0.4455, allocations: 7.984 kB / 1.311 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.4455, allocations: 0 / 1.311 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.4455, allocations: 7.938 kB / 1.311 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.4455, allocations: 4 kB / 1.311 GB, free: 14.27 MB / 1.014 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 8.343e-05/0.4456, allocations: 114.5 kB / 1.311 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.4456, allocations: 3.953 kB / 1.311 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.4457, allocations: 23.28 kB / 1.311 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.4457, allocations: 0 / 1.311 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4457, allocations: 0 / 1.311 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4457, allocations: 0 / 1.311 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.4458, allocations: 128.7 kB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4458, allocations: 0 / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.4459, allocations: 15.92 kB / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.4459, allocations: 0 / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.4459, allocations: 0 / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4459, allocations: 0 / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4459, allocations: 4 kB / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.4461, allocations: 163.5 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.4462, allocations: 4 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.4462, allocations: 3.938 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.4462, allocations: 7.984 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.4463, allocations: 4.031 kB / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.4463, allocations: 0 / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.446e-05/0.4463, allocations: 91.52 kB / 1.311 GB, free: 13.65 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4463, allocations: 3.938 kB / 1.311 GB, free: 13.65 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002025/0.4465, allocations: 4 kB / 1.311 GB, free: 13.64 MB / 1.014 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.0001315/0.4467, allocations: 95.25 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.4469, allocations: 39.95 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4469, allocations: 0 / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-05/0.447, allocations: 19.98 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.4473, allocations: 7.938 kB / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.4476, allocations: 111 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.4479, allocations: 0.6768 MB / 1.312 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.711e-05/0.448, allocations: 4.125 kB / 1.312 GB, free: 12.63 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.448, allocations: 7.438 kB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.448, allocations: 0 / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of Templates: time 0.003292/0.4513, allocations: 450.5 kB / 1.312 GB, free: 12.19 MB / 1.014 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: 9.702914700843394]