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.001306/0.001306, allocations: 92.22 kB / 19.65 MB, free: 276 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.001459/0.001459, allocations: 169 kB / 23.02 MB, free: 1.551 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.9907/0.9907, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 2.233/2.233, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] 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.685e-06/2.685e-06, allocations: 0 / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.109e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.003048/0.00308, allocations: 1.217 MB / 0.8794 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.004796, allocations: 1.012 MB / 0.8804 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.004959, allocations: 4 kB / 0.8804 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.528e-05/0.005044, allocations: 24.23 kB / 0.8804 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.005235, allocations: 40.38 kB / 0.8804 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.005435, allocations: 101.1 kB / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004077/0.005843, allocations: 311.3 kB / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003553/0.006198, allocations: 138 kB / 0.8809 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003311/0.006529, allocations: 172.7 kB / 0.8811 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.006682, allocations: 91.69 kB / 0.8812 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.854e-05/0.00675, allocations: 37.12 kB / 0.8812 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.268e-05/0.006793, allocations: 32 kB / 0.8813 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.006851, allocations: 67.81 kB / 0.8813 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.99e-05/0.006941, allocations: 80.89 kB / 0.8814 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.007274, allocations: 215.1 kB / 0.8816 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.007279, allocations: 1.094 kB / 0.8816 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.753e-06/0.007281, allocations: 0 / 0.8816 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.00729, allocations: 0 / 0.8816 GB, free: 2.805 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.0008836/0.008173, allocations: 0.5494 MB / 0.8821 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.008222, allocations: 16.02 kB / 0.8822 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.008322, allocations: 48.75 kB / 0.8822 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.008725, allocations: 214.5 kB / 0.8824 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.008744, allocations: 21.03 kB / 0.8824 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.008772, allocations: 28.31 kB / 0.8825 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.00907, allocations: 187.4 kB / 0.8826 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.009082, allocations: 5.312 kB / 0.8826 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.009096, allocations: 8.375 kB / 0.8826 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.009108, allocations: 8.375 kB / 0.8827 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.009254, allocations: 96.89 kB / 0.8827 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006649/0.009919, allocations: 0.6426 MB / 0.8834 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.01016, allocations: 144 kB / 0.8835 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.008e-05/0.01023, allocations: 54.72 kB / 0.8836 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.01024, allocations: 4 kB / 0.8836 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.01026, allocations: 41.33 kB / 0.8836 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 2.024e-06/0.01027, allocations: 0 / 0.8836 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.000256/0.01052, allocations: 159.9 kB / 0.8838 GB, free: 480 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.01055, allocations: 51.41 kB / 0.8838 GB, free: 416 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.01065, allocations: 200 kB / 0.884 GB, free: 200 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.01066, allocations: 25.7 kB / 0.884 GB, free: 168 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.54e-05/0.01074, allocations: 208.9 kB / 0.8842 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.01078, allocations: 67.39 kB / 0.8843 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.01083, allocations: 39.38 kB / 0.8843 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.01094, allocations: 0.5001 MB / 0.8848 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.54e-05/0.01098, allocations: 20.58 kB / 0.8848 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.506e-05/0.01105, allocations: 56.92 kB / 0.8849 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.01116, allocations: 86.05 kB / 0.885 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01116, allocations: 3.938 kB / 0.885 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001625/0.01132, allocations: 140 kB / 0.8851 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.01133, allocations: 8 kB / 0.8851 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.01134, allocations: 0 / 0.8851 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.01135, allocations: 0 / 0.8851 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.01147, allocations: 47.97 kB / 0.8852 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.01148, allocations: 0 / 0.8852 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.01153, allocations: 19.89 kB / 0.8852 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.01153, allocations: 11.94 kB / 0.8852 GB, free: 14.93 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 8.387e-05/0.01162, allocations: 168.5 kB / 0.8854 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.01165, allocations: 19.95 kB / 0.8854 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.01168, allocations: 21.12 kB / 0.8854 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.01168, allocations: 4 kB / 0.8854 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01169, allocations: 0 / 0.8854 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01169, allocations: 0 / 0.8854 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.01185, allocations: 208.4 kB / 0.8856 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01185, allocations: 0 / 0.8856 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.436e-05/0.01195, allocations: 47.91 kB / 0.8856 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01195, allocations: 0 / 0.8856 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.01196, allocations: 4 kB / 0.8856 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.01196, allocations: 4 kB / 0.8856 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01196, allocations: 4 kB / 0.8857 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.01215, allocations: 279.7 kB / 0.8859 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.01216, allocations: 19.83 kB / 0.8859 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.01218, allocations: 4 kB / 0.8859 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.478e-05/0.01223, allocations: 12 kB / 0.886 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.01228, allocations: 23.89 kB / 0.886 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.01228, allocations: 4 kB / 0.886 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.939e-05/0.01233, allocations: 144.3 kB / 0.8861 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01233, allocations: 4 kB / 0.8861 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001743/0.01251, allocations: 51.78 kB / 0.8862 GB, free: 13.86 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 8.804e-05/0.0126, allocations: 107.2 kB / 0.8863 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001567/0.01275, allocations: 88.95 kB / 0.8864 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.92e-07/0.01275, allocations: 4 kB / 0.8864 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.921e-05/0.01282, allocations: 57.83 kB / 0.8864 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.01305, allocations: 37.17 kB / 0.8865 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005251/0.01357, allocations: 402.5 kB / 0.8868 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.324e-05/0.01361, allocations: 75.83 kB / 0.8869 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.135e-05/0.01367, allocations: 21.42 kB / 0.8869 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.01371, allocations: 20.5 kB / 0.8869 GB, free: 13 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/0.01371, allocations: 0 / 0.8869 GB, free: 13 MB / 0.8542 GB Notification: Performance of Templates: time 0.003322/0.01703, allocations: 1.74 MB / 0.8886 GB, free: 11.33 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.844741106033325]