Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001487/0.001487, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.001612/0.001612, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.587/1.587, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] 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 3.645/3.645, allocations: 0.5049 GB / 0.8065 GB, free: 23.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDDerTim.Td",fileNamePrefix="Buildings_latest_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_latest_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.002049/0.002049, allocations: 72.42 kB / 1.172 GB, free: 17.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4561/0.4582, allocations: 180.2 MB / 1.348 GB, free: 9.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.00321/0.4614, allocations: 0.8081 MB / 1.349 GB, free: 8.637 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.463, allocations: 0.8666 MB / 1.35 GB, free: 7.758 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.83e-05/0.4631, allocations: 0 / 1.35 GB, free: 7.758 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.629e-05/0.4631, allocations: 7.875 kB / 1.35 GB, free: 7.75 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.4632, allocations: 19.84 kB / 1.35 GB, free: 7.73 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.046e-05/0.4633, allocations: 27.97 kB / 1.35 GB, free: 7.703 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.4635, allocations: 95.77 kB / 1.35 GB, free: 7.609 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.4637, allocations: 32.45 kB / 1.35 GB, free: 7.574 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.4638, allocations: 39.84 kB / 1.35 GB, free: 7.535 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.985e-05/0.4639, allocations: 39.78 kB / 1.35 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.4639, allocations: 8 kB / 1.35 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.895e-05/0.4639, allocations: 12 kB / 1.35 GB, free: 7.477 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.292e-05/0.464, allocations: 23.86 kB / 1.35 GB, free: 7.453 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.025e-05/0.464, allocations: 47.78 kB / 1.35 GB, free: 7.406 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.4642, allocations: 107.5 kB / 1.35 GB, free: 7.301 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.4643, allocations: 4 kB / 1.35 GB, free: 7.297 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.525e-06/0.4643, allocations: 0 / 1.35 GB, free: 7.297 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.4643, allocations: 3.984 kB / 1.35 GB, free: 7.293 MB / 1.045 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.0007482/0.465, allocations: 395.1 kB / 1.351 GB, free: 6.855 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.4651, allocations: 12.03 kB / 1.351 GB, free: 6.844 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.4651, allocations: 8.891 kB / 1.351 GB, free: 6.836 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.4654, allocations: 196.2 kB / 1.351 GB, free: 6.605 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.4654, allocations: 8.375 kB / 1.351 GB, free: 6.598 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.4654, allocations: 8.375 kB / 1.351 GB, free: 6.59 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.4658, allocations: 102.1 kB / 1.351 GB, free: 6.484 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.4658, allocations: 4.188 kB / 1.351 GB, free: 6.48 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.4658, allocations: 7.922 kB / 1.351 GB, free: 6.473 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4658, allocations: 0 / 1.351 GB, free: 6.473 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000373/0.4662, allocations: 99.86 kB / 1.351 GB, free: 6.375 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005994/0.4668, allocations: 372.5 kB / 1.351 GB, free: 5.961 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.4671, allocations: 82.53 kB / 1.352 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.4672, allocations: 48.81 kB / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.4673, allocations: 0 / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.4673, allocations: 30.56 kB / 1.352 GB, free: 5.781 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.4673, allocations: 0 / 1.352 GB, free: 5.781 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006345/0.4679, allocations: 177.6 kB / 1.352 GB, free: 5.602 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.468, allocations: 51.41 kB / 1.352 GB, free: 5.539 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.4681, allocations: 117.8 kB / 1.352 GB, free: 5.414 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.4681, allocations: 29.7 kB / 1.352 GB, free: 5.379 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/0.4682, allocations: 96.02 kB / 1.352 GB, free: 5.281 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.4682, allocations: 24.17 kB / 1.352 GB, free: 5.258 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.4683, allocations: 25.7 kB / 1.352 GB, free: 5.227 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4684, allocations: 318.8 kB / 1.352 GB, free: 4.906 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.4686, allocations: 35.95 kB / 1.352 GB, free: 4.871 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.4688, allocations: 47.84 kB / 1.353 GB, free: 4.824 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/0.4691, allocations: 88.78 kB / 1.353 GB, free: 4.734 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4691, allocations: 0 / 1.353 GB, free: 4.734 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000397/0.4695, allocations: 121.5 kB / 1.353 GB, free: 4.609 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.4695, allocations: 4 kB / 1.353 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4695, allocations: 0 / 1.353 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.4695, allocations: 11.98 kB / 1.353 GB, free: 4.594 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.4697, allocations: 15.98 kB / 1.353 GB, free: 4.578 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.4697, allocations: 7.938 kB / 1.353 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.95e-05/0.4698, allocations: 11.98 kB / 1.353 GB, free: 4.559 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.4698, allocations: 4 kB / 1.353 GB, free: 4.555 MB / 1.045 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.0001136/0.4699, allocations: 113.8 kB / 1.353 GB, free: 4.434 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.4699, allocations: 3.953 kB / 1.353 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.47, allocations: 16.36 kB / 1.353 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.47, allocations: 4 kB / 1.353 GB, free: 4.41 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.47, allocations: 7.875 kB / 1.353 GB, free: 4.402 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.47, allocations: 3.984 kB / 1.353 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.4702, allocations: 197.6 kB / 1.353 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.4702, allocations: 0 / 1.353 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.4704, allocations: 23.98 kB / 1.353 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4704, allocations: 0 / 1.353 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.4704, allocations: 0 / 1.353 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.4704, allocations: 3.984 kB / 1.353 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4704, allocations: 3.938 kB / 1.353 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.4708, allocations: 215.4 kB / 1.353 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.4709, allocations: 85.06 kB / 1.353 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.4709, allocations: 4 kB / 1.353 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.471, allocations: 15.97 kB / 1.353 GB, free: 3.777 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.4711, allocations: 15.88 kB / 1.353 GB, free: 3.762 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.4711, allocations: 4 kB / 1.353 GB, free: 3.758 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.861e-05/0.4712, allocations: 91.27 kB / 1.354 GB, free: 3.668 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4712, allocations: 0 / 1.354 GB, free: 3.668 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000239/0.4714, allocations: 15.94 kB / 1.354 GB, free: 3.652 MB / 1.045 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.0001575/0.4716, allocations: 99.53 kB / 1.354 GB, free: 3.547 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004121/0.472, allocations: 103.9 kB / 1.354 GB, free: 3.445 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.472, allocations: 0 / 1.354 GB, free: 3.445 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.4722, allocations: 56.56 kB / 1.354 GB, free: 3.391 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.4726, allocations: 21.14 kB / 1.354 GB, free: 3.371 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000565/0.4731, allocations: 185.9 kB / 1.354 GB, free: 3.164 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.4735, allocations: 0.6924 MB / 1.355 GB, free: 2.445 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.887e-05/0.4735, allocations: 8 kB / 1.355 GB, free: 2.438 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.4736, allocations: 11.44 kB / 1.355 GB, free: 2.426 MB / 1.045 GB Notification: Performance of SimCode: time 4.21e-07/0.4736, allocations: 0 / 1.355 GB, free: 2.426 MB / 1.045 GB Notification: Performance of Templates: time 0.004139/0.4777, allocations: 0.9545 MB / 1.356 GB, free: 1.52 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.145344774704427]