Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.0007828/0.0007828, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.00077/0.00077, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8733/0.8733, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.712/1.712, allocations: 377.9 MB / 0.6229 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] 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.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.696e-05, allocations: 5.234 kB / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.001657/0.001684, allocations: 1.141 MB / 0.9833 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009537/0.002637, allocations: 1.007 MB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.92e-05/0.002717, allocations: 0 / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 5.133e-05/0.002768, allocations: 23.67 kB / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.002883, allocations: 43.64 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.003003, allocations: 95.91 kB / 0.9845 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.00322, allocations: 315.2 kB / 0.9848 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.003453, allocations: 137.9 kB / 0.9849 GB, free: 15.29 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.003614, allocations: 171.8 kB / 0.9851 GB, free: 15.12 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.317e-05/0.003697, allocations: 83.69 kB / 0.9851 GB, free: 15.04 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.003738, allocations: 36 kB / 0.9852 GB, free: 15 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.363e-05/0.003761, allocations: 36 kB / 0.9852 GB, free: 14.97 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.0038, allocations: 75.75 kB / 0.9853 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.64e-05/0.003856, allocations: 79.83 kB / 0.9853 GB, free: 14.82 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.004176, allocations: 466.5 kB / 0.9858 GB, free: 14.36 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.004178, allocations: 0 / 0.9858 GB, free: 14.36 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.312e-06/0.00418, allocations: 0 / 0.9858 GB, free: 14.36 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.004185, allocations: 0 / 0.9858 GB, free: 14.36 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005594/0.004744, allocations: 485.8 kB / 0.9863 GB, free: 13.85 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.004784, allocations: 8.031 kB / 0.9863 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.004828, allocations: 24.8 kB / 0.9863 GB, free: 13.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.005059, allocations: 206 kB / 0.9865 GB, free: 13.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.005076, allocations: 24.97 kB / 0.9865 GB, free: 13.57 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.005101, allocations: 24.38 kB / 0.9865 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.005468, allocations: 254.6 kB / 0.9868 GB, free: 13.29 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.005479, allocations: 192 / 0.9868 GB, free: 13.29 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.0055, allocations: 20.36 kB / 0.9868 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.005507, allocations: 4.375 kB / 0.9868 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.005869, allocations: 246.3 kB / 0.987 GB, free: 13.03 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006672/0.006537, allocations: 0.5938 MB / 0.9876 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.006888, allocations: 198.7 kB / 0.9878 GB, free: 12.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.007056, allocations: 120.7 kB / 0.9879 GB, free: 12.08 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.007072, allocations: 4 kB / 0.9879 GB, free: 12.07 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.00709, allocations: 34.56 kB / 0.988 GB, free: 12.03 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.142e-06/0.007091, allocations: 0 / 0.988 GB, free: 12.03 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0005261/0.007617, allocations: 320 kB / 0.9883 GB, free: 11.71 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.007651, allocations: 55.41 kB / 0.9883 GB, free: 11.65 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.777e-05/0.007739, allocations: 135.9 kB / 0.9884 GB, free: 11.51 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.007753, allocations: 33.7 kB / 0.9885 GB, free: 11.47 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.007903, allocations: 156.6 kB / 0.9886 GB, free: 11.31 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.007939, allocations: 71.33 kB / 0.9887 GB, free: 11.24 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.007988, allocations: 33.7 kB / 0.9887 GB, free: 11.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.325e-05/0.008061, allocations: 322.8 kB / 0.989 GB, free: 10.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.008199, allocations: 87.88 kB / 0.9891 GB, free: 10.79 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.008351, allocations: 105.6 kB / 0.9892 GB, free: 10.68 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.008637, allocations: 193.6 kB / 0.9894 GB, free: 10.48 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.008639, allocations: 0 / 0.9894 GB, free: 10.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003308/0.00897, allocations: 239.8 kB / 0.9896 GB, free: 10.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.008983, allocations: 4 kB / 0.9896 GB, free: 10.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.008988, allocations: 4.031 kB / 0.9896 GB, free: 10.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.009002, allocations: 4 kB / 0.9896 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.009134, allocations: 51.89 kB / 0.9897 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.009139, allocations: 4 kB / 0.9897 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.54e-05/0.009204, allocations: 27.92 kB / 0.9897 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.009213, allocations: 4 kB / 0.9897 GB, free: 10.15 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (21): * Single equations (assignments): 21 * 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.665e-05/0.0093, allocations: 141.8 kB / 0.9899 GB, free: 10 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.00932, allocations: 15.91 kB / 0.9899 GB, free: 9.984 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.00935, allocations: 25.11 kB / 0.9899 GB, free: 9.961 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.009352, allocations: 0 / 0.9899 GB, free: 9.961 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.009356, allocations: 0 / 0.9899 GB, free: 9.961 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.009359, allocations: 4 kB / 0.9899 GB, free: 9.957 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.009529, allocations: 217 kB / 0.9901 GB, free: 9.715 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.00953, allocations: 3.938 kB / 0.9901 GB, free: 9.711 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.009642, allocations: 47.91 kB / 0.9902 GB, free: 9.664 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.009644, allocations: 4 kB / 0.9902 GB, free: 9.66 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.009655, allocations: 15.92 kB / 0.9902 GB, free: 9.645 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.009657, allocations: 4 kB / 0.9902 GB, free: 9.641 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.009659, allocations: 0 / 0.9902 GB, free: 9.641 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.01002, allocations: 327.3 kB / 0.9905 GB, free: 9.305 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.01004, allocations: 15.84 kB / 0.9905 GB, free: 9.289 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.01005, allocations: 11.94 kB / 0.9905 GB, free: 9.277 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.01013, allocations: 23.97 kB / 0.9905 GB, free: 9.254 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.01018, allocations: 15.97 kB / 0.9906 GB, free: 9.238 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.01018, allocations: 4 kB / 0.9906 GB, free: 9.234 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.678e-05/0.01023, allocations: 105 kB / 0.9907 GB, free: 9.133 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01023, allocations: 4 kB / 0.9907 GB, free: 9.129 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001775/0.01041, allocations: 47.84 kB / 0.9907 GB, free: 9.082 MB / 0.948 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 (20): * Single equations (assignments): 20 * 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 9.456e-05/0.0105, allocations: 107.2 kB / 0.9908 GB, free: 8.969 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003401/0.01084, allocations: 198 kB / 0.991 GB, free: 8.777 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01084, allocations: 4 kB / 0.991 GB, free: 8.773 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.01099, allocations: 95.88 kB / 0.9911 GB, free: 8.68 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.01125, allocations: 28.05 kB / 0.9911 GB, free: 8.652 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.01183, allocations: 448.2 kB / 0.9916 GB, free: 8.184 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.693e-05/0.01191, allocations: 126 kB / 0.9917 GB, free: 8.039 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.01197, allocations: 20.5 kB / 0.9917 GB, free: 8.02 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/0.01197, allocations: 0 / 0.9917 GB, free: 8.02 MB / 0.948 GB Notification: Performance of Templates: time 0.002801/0.01477, allocations: 2.395 MB / 0.994 GB, free: 5.633 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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: 6.495214186608791]