Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000812/0.000812, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007971/0.0007971, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9022/0.9022, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.8 MB / 0.6221 GB, free: 8.645 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.PI,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.393e-05, allocations: 2.281 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.001701/0.001725, allocations: 1.214 MB / 0.9821 GB, free: 1.34 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009762/0.002701, allocations: 1.026 MB / 0.9831 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.957e-05/0.002791, allocations: 4 kB / 0.9832 GB, free: 304 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 5.442e-05/0.002845, allocations: 27.61 kB / 0.9832 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.002956, allocations: 39.59 kB / 0.9832 GB, free: 236 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.003079, allocations: 119.9 kB / 0.9833 GB, free: 116 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.003313, allocations: 356.4 kB / 0.9837 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.00355, allocations: 166.4 kB / 0.9838 GB, free: 15.6 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004189/0.003969, allocations: 199.7 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.376e-05/0.004063, allocations: 99.67 kB / 0.9841 GB, free: 15.31 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.575e-05/0.004109, allocations: 44 kB / 0.9842 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.464e-05/0.004133, allocations: 44 kB / 0.9842 GB, free: 15.22 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.13e-05/0.004175, allocations: 83.75 kB / 0.9843 GB, free: 15.14 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.979e-05/0.004234, allocations: 99.73 kB / 0.9844 GB, free: 15.04 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.004578, allocations: 0.5568 MB / 0.9849 GB, free: 14.48 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.207e-06/0.004582, allocations: 4 kB / 0.9849 GB, free: 14.48 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.41e-07/0.004583, allocations: 0 / 0.9849 GB, free: 14.48 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.004587, allocations: 0 / 0.9849 GB, free: 14.48 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0005812/0.005169, allocations: 0.4939 MB / 0.9854 GB, free: 13.95 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.005211, allocations: 8.031 kB / 0.9854 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.343e-05/0.005264, allocations: 70.72 kB / 0.9855 GB, free: 13.87 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.005302, allocations: 32.75 kB / 0.9855 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.005539, allocations: 224.9 kB / 0.9857 GB, free: 13.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.005555, allocations: 21.03 kB / 0.9857 GB, free: 13.57 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.005583, allocations: 36.38 kB / 0.9858 GB, free: 13.54 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.006003, allocations: 310.5 kB / 0.9861 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.006012, allocations: 192 / 0.9861 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.006032, allocations: 16.38 kB / 0.9861 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.006041, allocations: 12.12 kB / 0.9861 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.006441, allocations: 286.4 kB / 0.9864 GB, free: 12.92 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000816/0.007257, allocations: 0.7497 MB / 0.9871 GB, free: 12.12 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.007694, allocations: 252.3 kB / 0.9873 GB, free: 11.87 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.00788, allocations: 135.9 kB / 0.9875 GB, free: 11.74 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.007898, allocations: 4 kB / 0.9875 GB, free: 11.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.007916, allocations: 30.56 kB / 0.9875 GB, free: 11.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/0.007918, allocations: 0 / 0.9875 GB, free: 11.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.0005955/0.008514, allocations: 364 kB / 0.9879 GB, free: 11.34 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.008554, allocations: 59.34 kB / 0.9879 GB, free: 11.27 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.008658, allocations: 145.8 kB / 0.9881 GB, free: 11.11 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.008673, allocations: 25.7 kB / 0.9881 GB, free: 11.08 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.09e-05/0.008764, allocations: 172.5 kB / 0.9882 GB, free: 10.91 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.008813, allocations: 87.22 kB / 0.9883 GB, free: 10.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.043e-05/0.008873, allocations: 45.94 kB / 0.9884 GB, free: 10.77 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.734e-05/0.008971, allocations: 330.7 kB / 0.9887 GB, free: 10.44 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.009126, allocations: 96.39 kB / 0.9888 GB, free: 10.34 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.009296, allocations: 125.8 kB / 0.9889 GB, free: 10.21 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.009621, allocations: 237.5 kB / 0.9891 GB, free: 9.977 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.009624, allocations: 3.938 kB / 0.9891 GB, free: 9.973 MB / 0.948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003943/0.01002, allocations: 273.3 kB / 0.9894 GB, free: 9.699 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.01004, allocations: 4 kB / 0.9894 GB, free: 9.695 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.01005, allocations: 8.062 kB / 0.9894 GB, free: 9.688 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.01007, allocations: 0 / 0.9894 GB, free: 9.688 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.01024, allocations: 63.95 kB / 0.9895 GB, free: 9.625 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.01025, allocations: 0 / 0.9895 GB, free: 9.625 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-05/0.01034, allocations: 43.75 kB / 0.9895 GB, free: 9.582 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.01035, allocations: 4 kB / 0.9895 GB, free: 9.578 MB / 0.948 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.0001121/0.01046, allocations: 145.8 kB / 0.9896 GB, free: 9.426 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.01048, allocations: 19.91 kB / 0.9897 GB, free: 9.406 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.01052, allocations: 25.27 kB / 0.9897 GB, free: 9.383 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.01052, allocations: 0 / 0.9897 GB, free: 9.383 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.01053, allocations: 4 kB / 0.9897 GB, free: 9.379 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.01053, allocations: 0 / 0.9897 GB, free: 9.379 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.01076, allocations: 292.4 kB / 0.99 GB, free: 9.051 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01076, allocations: 0 / 0.99 GB, free: 9.051 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.0109, allocations: 67.89 kB / 0.99 GB, free: 8.984 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.0109, allocations: 0 / 0.99 GB, free: 8.984 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.01091, allocations: 8 kB / 0.99 GB, free: 8.977 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01092, allocations: 0 / 0.99 GB, free: 8.977 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01092, allocations: 4 kB / 0.99 GB, free: 8.973 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.0113, allocations: 369.8 kB / 0.9904 GB, free: 8.598 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.01131, allocations: 27.83 kB / 0.9904 GB, free: 8.57 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.01133, allocations: 8 kB / 0.9904 GB, free: 8.562 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.01141, allocations: 15.98 kB / 0.9905 GB, free: 8.547 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.01146, allocations: 23.95 kB / 0.9905 GB, free: 8.523 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.01147, allocations: 8 kB / 0.9905 GB, free: 8.516 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.853e-05/0.01152, allocations: 110 kB / 0.9906 GB, free: 8.41 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01152, allocations: 0 / 0.9906 GB, free: 8.41 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00019/0.01171, allocations: 55.84 kB / 0.9906 GB, free: 8.355 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 (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.0008674/0.01258, allocations: 0.9104 MB / 0.9915 GB, free: 7.422 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000371/0.01295, allocations: 231.6 kB / 0.9917 GB, free: 7.195 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01295, allocations: 8.125 kB / 0.9918 GB, free: 7.188 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.01311, allocations: 119.9 kB / 0.9919 GB, free: 7.07 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.01342, allocations: 23.92 kB / 0.9919 GB, free: 7.047 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.01545, allocations: 2.291 MB / 0.9941 GB, free: 4.66 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.012e-05/0.01554, allocations: 141.8 kB / 0.9943 GB, free: 4.504 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.104e-05/0.01561, allocations: 21.47 kB / 0.9943 GB, free: 4.484 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.044e-05/0.0157, allocations: 76.47 kB / 0.9944 GB, free: 4.41 MB / 0.948 GB Notification: Performance of SimCode: time 7.51e-07/0.0157, allocations: 0 / 0.9944 GB, free: 4.41 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.0312, allocations: 4.279 MB / 0.9985 GB, free: 324 kB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.902/6.933, allocations: 10.81 kB / 0.9985 GB, free: 316 kB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.891765755601227]