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.0008606/0.0008606, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.0008686/0.0008686, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8895/0.8895, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.713/1.713, allocations: 377.9 MB / 0.6221 GB, free: 8.668 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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.177e-05, allocations: 2.281 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.001871/0.001892, allocations: 1.141 MB / 0.9821 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.002936, allocations: 1.003 MB / 0.9831 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/0.003032, allocations: 4 kB / 0.9831 GB, free: 436 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 5.748e-05/0.003089, allocations: 27.61 kB / 0.9831 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.003217, allocations: 35.66 kB / 0.9831 GB, free: 372 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001285/0.003346, allocations: 91.91 kB / 0.9832 GB, free: 280 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.003613, allocations: 323.3 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002717/0.003885, allocations: 130 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.004111, allocations: 183.7 kB / 0.9838 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.004339, allocations: 79.77 kB / 0.9839 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.00438, allocations: 36 kB / 0.9839 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.339e-05/0.004403, allocations: 36 kB / 0.984 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.169e-05/0.004445, allocations: 67.75 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.524e-05/0.00454, allocations: 87.81 kB / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.004835, allocations: 462.5 kB / 0.9845 GB, free: 14.89 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.004838, allocations: 0 / 0.9845 GB, free: 14.89 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.433e-06/0.004839, allocations: 0 / 0.9845 GB, free: 14.89 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.004843, allocations: 4 kB / 0.9846 GB, free: 14.89 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.0006218/0.005465, allocations: 477.8 kB / 0.985 GB, free: 14.39 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.005504, allocations: 8.031 kB / 0.985 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.005551, allocations: 62.73 kB / 0.9851 GB, free: 14.31 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.005585, allocations: 24.8 kB / 0.9851 GB, free: 14.29 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.005808, allocations: 203.9 kB / 0.9853 GB, free: 14.06 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.005823, allocations: 25.03 kB / 0.9853 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.005844, allocations: 24.38 kB / 0.9853 GB, free: 14.02 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.006207, allocations: 266.6 kB / 0.9856 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.006216, allocations: 192 / 0.9856 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.006233, allocations: 8.375 kB / 0.9856 GB, free: 13.74 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.006241, allocations: 12.12 kB / 0.9856 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003528/0.006594, allocations: 238.5 kB / 0.9858 GB, free: 13.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007229/0.007317, allocations: 0.644 MB / 0.9865 GB, free: 12.81 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.007828, allocations: 210.7 kB / 0.9867 GB, free: 12.59 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.007986, allocations: 104.8 kB / 0.9868 GB, free: 12.49 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.008004, allocations: 3.938 kB / 0.9868 GB, free: 12.48 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.008022, allocations: 38.91 kB / 0.9868 GB, free: 12.44 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.008024, allocations: 11.88 kB / 0.9868 GB, free: 12.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0005148/0.008539, allocations: 311.9 kB / 0.9871 GB, free: 12.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.008569, allocations: 55.41 kB / 0.9872 GB, free: 12.05 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/0.008651, allocations: 143.5 kB / 0.9873 GB, free: 11.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.008664, allocations: 25.7 kB / 0.9873 GB, free: 11.87 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/0.008743, allocations: 156.6 kB / 0.9875 GB, free: 11.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.00878, allocations: 71.38 kB / 0.9876 GB, free: 11.64 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.008825, allocations: 37.7 kB / 0.9876 GB, free: 11.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.917e-05/0.008915, allocations: 326.8 kB / 0.9879 GB, free: 11.27 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.009049, allocations: 79.88 kB / 0.988 GB, free: 11.19 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.009201, allocations: 107.7 kB / 0.9881 GB, free: 11.08 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.009477, allocations: 189.5 kB / 0.9883 GB, free: 10.89 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.00948, allocations: 3.984 kB / 0.9883 GB, free: 10.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003245/0.009804, allocations: 243.4 kB / 0.9885 GB, free: 10.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.009817, allocations: 4 kB / 0.9885 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.009822, allocations: 0 / 0.9885 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.009835, allocations: 0 / 0.9885 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.009965, allocations: 55.98 kB / 0.9886 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.009971, allocations: 0 / 0.9886 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.383e-05/0.01004, allocations: 35.8 kB / 0.9886 GB, free: 10.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.01005, allocations: 4 kB / 0.9886 GB, free: 10.55 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.669e-05/0.01014, allocations: 141.8 kB / 0.9887 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.01016, allocations: 15.91 kB / 0.9887 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.01019, allocations: 29.05 kB / 0.9888 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01019, allocations: 0 / 0.9888 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01019, allocations: 0 / 0.9888 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.0102, allocations: 4 kB / 0.9888 GB, free: 10.35 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.01039, allocations: 260.5 kB / 0.989 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01039, allocations: 0 / 0.989 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.0105, allocations: 51.89 kB / 0.9891 GB, free: 10 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.0105, allocations: 4 kB / 0.9891 GB, free: 10 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.01051, allocations: 4 kB / 0.9891 GB, free: 9.996 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01051, allocations: 0 / 0.9891 GB, free: 9.996 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01051, allocations: 0 / 0.9891 GB, free: 9.996 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.01084, allocations: 331.3 kB / 0.9894 GB, free: 9.656 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.01085, allocations: 15.91 kB / 0.9894 GB, free: 9.641 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.01087, allocations: 3.984 kB / 0.9894 GB, free: 9.637 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.01094, allocations: 23.98 kB / 0.9894 GB, free: 9.613 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.01099, allocations: 15.97 kB / 0.9895 GB, free: 9.598 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.011, allocations: 8 kB / 0.9895 GB, free: 9.59 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.442e-05/0.01104, allocations: 111.2 kB / 0.9896 GB, free: 9.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01104, allocations: 0 / 0.9896 GB, free: 9.48 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001726/0.01122, allocations: 59.72 kB / 0.9896 GB, free: 9.422 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 0.0007673/0.01198, allocations: 0.8674 MB / 0.9905 GB, free: 8.531 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003376/0.01232, allocations: 195.8 kB / 0.9907 GB, free: 8.34 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01232, allocations: 0 / 0.9907 GB, free: 8.34 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.01247, allocations: 106.6 kB / 0.9908 GB, free: 8.238 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.01273, allocations: 33.92 kB / 0.9908 GB, free: 8.207 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.01456, allocations: 2.12 MB / 0.9929 GB, free: 6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.567e-05/0.01464, allocations: 130 kB / 0.993 GB, free: 5.852 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.059e-05/0.0147, allocations: 21.47 kB / 0.993 GB, free: 5.832 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.901e-05/0.01478, allocations: 60.48 kB / 0.9931 GB, free: 5.773 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/0.01478, allocations: 0 / 0.9931 GB, free: 5.773 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.03113, allocations: 4.088 MB / 0.9971 GB, free: 1.875 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.822/6.854, allocations: 1.969 kB / 0.9971 GB, free: 1.875 MB / 0.948 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 420.0] 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: 10.84171837195754]