Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001776/0.001776, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002421/0.002421, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.6/1.6, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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.212/3.212, allocations: 429.6 MB / 0.673 GB, free: 3.871 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.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_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.824e-05/3.054e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002678/0.002708, allocations: 1.147 MB / 0.8787 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.004406, allocations: 1.001 MB / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.004569, allocations: 4.75 kB / 0.8797 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.908e-05/0.004658, allocations: 27.61 kB / 0.8797 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.004837, allocations: 32.88 kB / 0.8798 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.005053, allocations: 100.5 kB / 0.8799 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005312/0.005585, allocations: 307.4 kB / 0.8802 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003468/0.005931, allocations: 138.8 kB / 0.8803 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.006236, allocations: 175.7 kB / 0.8805 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.006384, allocations: 92.41 kB / 0.8805 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.1e-05/0.006445, allocations: 37.12 kB / 0.8806 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.594e-05/0.00649, allocations: 36 kB / 0.8806 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.006562, allocations: 63.81 kB / 0.8807 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.006673, allocations: 84.83 kB / 0.8808 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005897/0.007263, allocations: 462.5 kB / 0.8812 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.007266, allocations: 0 / 0.8812 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.21e-07/0.007267, allocations: 0.8438 kB / 0.8812 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.007281, allocations: 3.984 kB / 0.8812 GB, free: 2.793 MB / 0.8386 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.00104/0.008321, allocations: 472.1 kB / 0.8816 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.008368, allocations: 9.219 kB / 0.8817 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.008485, allocations: 52.75 kB / 0.8817 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.008865, allocations: 210.5 kB / 0.8819 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.008895, allocations: 18.12 kB / 0.8819 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.00894, allocations: 28.38 kB / 0.882 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/0.009612, allocations: 260 kB / 0.8822 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.009625, allocations: 192 / 0.8822 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.009653, allocations: 12.28 kB / 0.8822 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.009665, allocations: 8.375 kB / 0.8822 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007325/0.0104, allocations: 238.4 kB / 0.8824 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.01158, allocations: 0.6069 MB / 0.883 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000641/0.01222, allocations: 204.8 kB / 0.8832 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.01256, allocations: 116.4 kB / 0.8833 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.01258, allocations: 4 kB / 0.8834 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.01262, allocations: 41.34 kB / 0.8834 GB, free: 464 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.01262, allocations: 0 / 0.8834 GB, free: 464 kB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.001055/0.01367, allocations: 319.3 kB / 0.8837 GB, free: 140 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.01373, allocations: 55.41 kB / 0.8837 GB, free: 72 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.01392, allocations: 144.5 kB / 0.8839 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.01394, allocations: 25.7 kB / 0.8839 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.01408, allocations: 162.3 kB / 0.8841 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.925e-05/0.01415, allocations: 67.44 kB / 0.8841 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.519e-05/0.01422, allocations: 33.67 kB / 0.8842 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.01441, allocations: 326.8 kB / 0.8845 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.01471, allocations: 81.45 kB / 0.8845 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.01503, allocations: 113.6 kB / 0.8847 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005782/0.0156, allocations: 183.5 kB / 0.8848 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01561, allocations: 0 / 0.8848 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007047/0.01631, allocations: 255.2 kB / 0.8851 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.01633, allocations: 4 kB / 0.8851 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.01634, allocations: 0 / 0.8851 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.01636, allocations: 8 kB / 0.8851 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.01664, allocations: 55.92 kB / 0.8851 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.01665, allocations: 4 kB / 0.8851 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.0168, allocations: 27.91 kB / 0.8852 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.01682, allocations: 4 kB / 0.8852 GB, free: 14.56 MB / 0.8542 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 0.0001563/0.01698, allocations: 141.8 kB / 0.8853 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.01703, allocations: 15.91 kB / 0.8853 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.024e-05/0.01709, allocations: 21.12 kB / 0.8853 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.01709, allocations: 4 kB / 0.8853 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.0171, allocations: 4 kB / 0.8854 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.0171, allocations: 3.984 kB / 0.8854 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.01741, allocations: 209.1 kB / 0.8856 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01741, allocations: 0 / 0.8856 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/0.01769, allocations: 55.89 kB / 0.8856 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.0177, allocations: 4 kB / 0.8856 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.01771, allocations: 0 / 0.8856 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.01771, allocations: 0 / 0.8856 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01771, allocations: 0 / 0.8856 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007488/0.01846, allocations: 351.2 kB / 0.8859 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.01849, allocations: 23.77 kB / 0.886 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.01852, allocations: 4 kB / 0.886 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.01869, allocations: 15.98 kB / 0.886 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/0.01877, allocations: 15.97 kB / 0.886 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.01877, allocations: 8 kB / 0.886 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.869e-05/0.01887, allocations: 113.1 kB / 0.8861 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01887, allocations: 0 / 0.8861 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002904/0.01916, allocations: 51.84 kB / 0.8862 GB, free: 13.48 MB / 0.8542 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 0.000145/0.01931, allocations: 99.19 kB / 0.8863 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006644/0.01997, allocations: 193.4 kB / 0.8864 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01997, allocations: 0 / 0.8864 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.02028, allocations: 103.9 kB / 0.8865 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.02072, allocations: 31.98 kB / 0.8866 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.02172, allocations: 430.9 kB / 0.887 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.02197, allocations: 133.7 kB / 0.8871 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.736e-05/0.02206, allocations: 17.47 kB / 0.8871 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.02213, allocations: 20.5 kB / 0.8872 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of SimCode: time 4.5e-07/0.02213, allocations: 0 / 0.8872 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of Templates: time 0.005688/0.02782, allocations: 1.728 MB / 0.8888 GB, free: 10.77 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.483123139012605]