Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.001021/0.001021, allocations: 93.06 kB / 19.65 MB, free: 280 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.0012/0.0012, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9803/0.9803, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.183/2.183, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/3.061e-05, allocations: 3.781 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.005526/0.005557, allocations: 1.306 MB / 0.8794 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.006856, allocations: 1.046 MB / 0.8805 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.006964, allocations: 4 kB / 0.8805 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.371e-05/0.007038, allocations: 31.59 kB / 0.8805 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.003172/0.01021, allocations: 35.59 kB / 0.8805 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.01039, allocations: 116.8 kB / 0.8806 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.01069, allocations: 348.4 kB / 0.881 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002962/0.01099, allocations: 162.5 kB / 0.8811 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.01121, allocations: 200.7 kB / 0.8813 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.01132, allocations: 99.67 kB / 0.8814 GB, free: 3 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.065e-05/0.01137, allocations: 44.97 kB / 0.8815 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4e-05/0.01141, allocations: 48 kB / 0.8815 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.01147, allocations: 84.48 kB / 0.8816 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.814e-05/0.01156, allocations: 103.7 kB / 0.8817 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.01183, allocations: 246.5 kB / 0.8819 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01184, allocations: 0 / 0.8819 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.773e-06/0.01184, allocations: 0 / 0.8819 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.01184, allocations: 4 kB / 0.8819 GB, free: 2.484 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006651/0.01251, allocations: 0.5821 MB / 0.8825 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.01255, allocations: 8.031 kB / 0.8825 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.346e-05/0.01263, allocations: 57.38 kB / 0.8826 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.01289, allocations: 221.4 kB / 0.8828 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.01291, allocations: 25.03 kB / 0.8828 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.01295, allocations: 33.19 kB / 0.8828 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003457/0.01641, allocations: 224.2 kB / 0.883 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.01642, allocations: 192 / 0.883 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.01645, allocations: 13.91 kB / 0.8831 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.01647, allocations: 8.375 kB / 0.8831 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.01671, allocations: 115.7 kB / 0.8832 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.01783, allocations: 0.7456 MB / 0.8839 GB, free: 372 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.01821, allocations: 191.3 kB / 0.8841 GB, free: 168 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.01832, allocations: 71.59 kB / 0.8841 GB, free: 92 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.01834, allocations: 4 kB / 0.8842 GB, free: 88 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.01836, allocations: 37.39 kB / 0.8842 GB, free: 40 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.343e-06/0.01836, allocations: 0 / 0.8842 GB, free: 40 kB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.000384/0.01875, allocations: 197.8 kB / 0.8844 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.01878, allocations: 55.41 kB / 0.8844 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.01889, allocations: 200.2 kB / 0.8846 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.01891, allocations: 29.7 kB / 0.8846 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.01902, allocations: 215.2 kB / 0.8849 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.01908, allocations: 83.28 kB / 0.8849 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.189e-05/0.01915, allocations: 47.59 kB / 0.885 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.01928, allocations: 0.5039 MB / 0.8855 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.88e-05/0.01936, allocations: 32.45 kB / 0.8855 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.01946, allocations: 73.14 kB / 0.8856 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.01964, allocations: 107 kB / 0.8857 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01965, allocations: 4 kB / 0.8857 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000274/0.01992, allocations: 174.2 kB / 0.8858 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.01994, allocations: 6.656 kB / 0.8858 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.01994, allocations: 4 kB / 0.8859 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.01996, allocations: 0 / 0.8859 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.02017, allocations: 56.03 kB / 0.8859 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.02018, allocations: 0 / 0.8859 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.406e-05/0.02025, allocations: 23.89 kB / 0.8859 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.02027, allocations: 15.98 kB / 0.8859 GB, free: 14.14 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (27): * Single equations (assignments): 27 * 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.0001003/0.02037, allocations: 168.5 kB / 0.8861 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.02041, allocations: 23.91 kB / 0.8861 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.02045, allocations: 21.28 kB / 0.8861 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.02046, allocations: 4 kB / 0.8862 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.02046, allocations: 0 / 0.8862 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.02047, allocations: 3.984 kB / 0.8862 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.02071, allocations: 240.4 kB / 0.8864 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.02072, allocations: 0 / 0.8864 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.02088, allocations: 51.91 kB / 0.8864 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.02088, allocations: 0 / 0.8864 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.02089, allocations: 4 kB / 0.8864 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.0209, allocations: 4 kB / 0.8864 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.0209, allocations: 0 / 0.8864 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.02118, allocations: 311.6 kB / 0.8867 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.0212, allocations: 19.84 kB / 0.8868 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.02122, allocations: 4 kB / 0.8868 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.02131, allocations: 23.92 kB / 0.8868 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.02137, allocations: 15.97 kB / 0.8868 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.02138, allocations: 11.98 kB / 0.8868 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.925e-05/0.02144, allocations: 145.1 kB / 0.8869 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02144, allocations: 0 / 0.8869 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000275/0.02171, allocations: 63.73 kB / 0.887 GB, free: 12.98 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 (25): * Single equations (assignments): 25 * 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.003068/0.02478, allocations: 99.19 kB / 0.8871 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.02501, allocations: 128.5 kB / 0.8872 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02501, allocations: 0 / 0.8872 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.547e-05/0.02509, allocations: 72.47 kB / 0.8873 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.02534, allocations: 29.55 kB / 0.8873 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006869/0.02602, allocations: 455.8 kB / 0.8878 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.99e-05/0.02607, allocations: 79.98 kB / 0.8878 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.087e-05/0.02614, allocations: 17.48 kB / 0.8879 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.02619, allocations: 20.5 kB / 0.8879 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of SimCode: time 8.11e-07/0.02619, allocations: 0 / 0.8879 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of Templates: time 0.003925/0.03011, allocations: 1.834 MB / 0.8897 GB, free: 10.27 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.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.632194021716714]