Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.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.001783/0.001783, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002065/0.002065, allocations: 212.7 kB / 23.01 MB, free: 4.57 MB / 14.72 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.126/3.126, allocations: 0.49 GB / 0.7958 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDDerTim.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDDerTim.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 70.16 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4422, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002456/0.4446, allocations: 0.8273 MB / 1.328 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00159/0.4462, allocations: 0.8665 MB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.122e-05/0.4463, allocations: 8 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.402e-05/0.4464, allocations: 3.938 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.4465, allocations: 11.86 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 9.175e-05/0.4466, allocations: 27.97 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.4467, allocations: 99.7 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.4469, allocations: 36.44 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.447, allocations: 35.86 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.571e-05/0.4471, allocations: 39.83 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.4471, allocations: 8 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.557e-05/0.4471, allocations: 8 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.14e-05/0.4472, allocations: 27.92 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.108e-05/0.4472, allocations: 39.8 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.4475, allocations: 119.4 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4475, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4475, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4475, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006952/0.4482, allocations: 323.6 kB / 1.33 GB, free: 14.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.4482, allocations: 16.03 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.4482, allocations: 8.891 kB / 1.33 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.4485, allocations: 130.4 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.4485, allocations: 12.31 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.4485, allocations: 8.359 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.4488, allocations: 106.2 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4489, allocations: 192 / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.4489, allocations: 7.938 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4489, allocations: 4 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.4492, allocations: 95.77 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.4498, allocations: 335.6 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.45, allocations: 90.52 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.4502, allocations: 44.83 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.4502, allocations: 3.938 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.4503, allocations: 30.56 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.4503, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005959/0.4509, allocations: 161.6 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.4509, allocations: 51.41 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.451, allocations: 117.8 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.4511, allocations: 33.64 kB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.4512, allocations: 104 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.4512, allocations: 27.78 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.4512, allocations: 17.72 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.4514, allocations: 318.8 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.4516, allocations: 40.06 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.4517, allocations: 43.94 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.452, allocations: 92.78 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.452, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003536/0.4524, allocations: 117.6 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4524, allocations: 4 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4524, allocations: 4.547 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.4524, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.4526, allocations: 23.92 kB / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.4526, allocations: 7.922 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.864e-05/0.4527, allocations: 11.98 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.4527, allocations: 4 kB / 1.332 GB, free: 12.75 MB / 1.029 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 (7): * Single equations (assignments): 7 * 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.0001196/0.4528, allocations: 118.4 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.4528, allocations: 7.953 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.4528, allocations: 12.38 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4528, allocations: 0 / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.4529, allocations: 3.938 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4529, allocations: 4.375 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.4531, allocations: 168.7 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4531, allocations: 0 / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.4532, allocations: 23.97 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4532, allocations: 3.938 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.4532, allocations: 4 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4532, allocations: 4 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4532, allocations: 3.938 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.4536, allocations: 223.3 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.352e-05/0.4536, allocations: 7.891 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.4537, allocations: 8 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.4538, allocations: 11.98 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.4538, allocations: 15.91 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.4538, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.81e-05/0.4539, allocations: 95.2 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4539, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002238/0.4541, allocations: 16 kB / 1.332 GB, free: 11.96 MB / 1.029 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 (7): * Single equations (assignments): 7 * 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.0001449/0.4543, allocations: 100.9 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003561/0.4546, allocations: 95.86 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4546, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.4548, allocations: 43.95 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.4551, allocations: 21.7 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.4556, allocations: 215.5 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.456, allocations: 0.6924 MB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.456, allocations: 11.44 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.456, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of Templates: time 0.002872/0.4589, allocations: 1.048 MB / 1.334 GB, free: 9.688 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.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: 11.133259622001788]