Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.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.0008227/0.0008227, 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.0009247/0.0009247, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9165/0.9165, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.738/1.738, 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.BaseClasses.Validation.PIDIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.605e-05, allocations: 13.03 kB / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.001512/0.001538, allocations: 0.8102 MB / 0.9818 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00089/0.002428, allocations: 0.8627 MB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.201e-05/0.00248, allocations: 8 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.639e-05/0.002516, allocations: 11.86 kB / 0.9827 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.203e-05/0.002598, allocations: 11.81 kB / 0.9827 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 7.03e-05/0.002668, allocations: 35.95 kB / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.002782, allocations: 119.5 kB / 0.9828 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.002921, allocations: 45.56 kB / 0.9829 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.589e-05/0.003016, allocations: 59.88 kB / 0.9829 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.38e-05/0.00307, allocations: 39.89 kB / 0.983 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.003094, allocations: 12 kB / 0.983 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-06/0.003104, allocations: 12 kB / 0.983 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.003128, allocations: 27.91 kB / 0.983 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.003161, allocations: 27.92 kB / 0.983 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.003308, allocations: 147.5 kB / 0.9832 GB, free: 312 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.003311, allocations: 3.938 kB / 0.9832 GB, free: 308 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.222e-06/0.003313, allocations: 0 / 0.9832 GB, free: 308 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.003317, allocations: 4 kB / 0.9832 GB, free: 304 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004436/0.003761, allocations: 333.9 kB / 0.9835 GB, free: 15.94 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.003803, allocations: 12.03 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.82e-05/0.003841, allocations: 42.73 kB / 0.9835 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.003869, allocations: 12.84 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.004035, allocations: 137.7 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.004047, allocations: 12.38 kB / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.004064, allocations: 16.31 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.004284, allocations: 120.2 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.004292, allocations: 192 / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.004304, allocations: 4.375 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.004311, allocations: 12.12 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.00451, allocations: 107.9 kB / 0.9839 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.004899, allocations: 339.5 kB / 0.9843 GB, free: 15.06 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.005301, allocations: 114.6 kB / 0.9844 GB, free: 14.94 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.005406, allocations: 60.81 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.005418, allocations: 4 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.005436, allocations: 30.56 kB / 0.9845 GB, free: 14.83 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 1.934e-06/0.005438, allocations: 3.938 kB / 0.9845 GB, free: 14.83 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0003516/0.00579, allocations: 181.7 kB / 0.9847 GB, free: 14.64 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.00582, allocations: 55.41 kB / 0.9847 GB, free: 14.58 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.867e-05/0.005889, allocations: 121.7 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.005901, allocations: 33.69 kB / 0.9849 GB, free: 14.41 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/0.005945, allocations: 99.98 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.005972, allocations: 31.73 kB / 0.985 GB, free: 14.28 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.006007, allocations: 21.72 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.55e-05/0.006082, allocations: 318.8 kB / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.326e-05/0.006176, allocations: 47.89 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.897e-05/0.006255, allocations: 47.91 kB / 0.9854 GB, free: 13.84 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.006423, allocations: 100.8 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.006425, allocations: 0 / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002029/0.006628, allocations: 142.1 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.006641, allocations: 4 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.006645, allocations: 0 / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.006657, allocations: 0 / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.006737, allocations: 23.98 kB / 0.9857 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.006743, allocations: 4.031 kB / 0.9857 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.292e-05/0.006786, allocations: 19.91 kB / 0.9857 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.006793, allocations: 4 kB / 0.9857 GB, free: 13.54 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (9): * Single equations (assignments): 9 * 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 6.898e-05/0.006862, allocations: 125.8 kB / 0.9858 GB, free: 13.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.006877, allocations: 3.953 kB / 0.9858 GB, free: 13.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.006898, allocations: 16.44 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.0069, allocations: 0 / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.006905, allocations: 0 / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.006908, allocations: 3.938 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.00705, allocations: 172.6 kB / 0.986 GB, free: 13.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.007052, allocations: 0 / 0.986 GB, free: 13.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.192e-05/0.007124, allocations: 27.97 kB / 0.986 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.007125, allocations: 4 kB / 0.986 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.007135, allocations: 8 kB / 0.986 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.007138, allocations: 4 kB / 0.986 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.00714, allocations: 0 / 0.986 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.007377, allocations: 231.3 kB / 0.9862 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.00739, allocations: 4 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.007406, allocations: 4 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.544e-05/0.007462, allocations: 19.97 kB / 0.9863 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.007509, allocations: 11.92 kB / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.007514, allocations: 4 kB / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.542e-05/0.00755, allocations: 91.27 kB / 0.9864 GB, free: 12.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.00755, allocations: 3.938 kB / 0.9864 GB, free: 12.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00016/0.00771, allocations: 19.95 kB / 0.9864 GB, free: 12.73 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 (9): * Single equations (assignments): 9 * 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.0004213/0.008131, allocations: 0.7709 MB / 0.9872 GB, free: 11.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.008356, allocations: 108 kB / 0.9873 GB, free: 11.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.008358, allocations: 0 / 0.9873 GB, free: 11.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.748e-05/0.008446, allocations: 51.95 kB / 0.9873 GB, free: 11.77 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.008718, allocations: 19.94 kB / 0.9873 GB, free: 11.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.01003, allocations: 1.562 MB / 0.9888 GB, free: 10.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.695e-05/0.0101, allocations: 89.42 kB / 0.9889 GB, free: 9.996 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.157e-05/0.01014, allocations: 8 kB / 0.9889 GB, free: 9.988 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.01019, allocations: 32.48 kB / 0.989 GB, free: 9.957 MB / 0.948 GB Notification: Performance of SimCode: time 3.71e-07/0.01019, allocations: 0 / 0.989 GB, free: 9.957 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.02885, allocations: 2.881 MB / 0.9918 GB, free: 7.316 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.677/6.706, allocations: 12.19 kB / 0.9918 GB, free: 7.309 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.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.748048054985702]