Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.001642/0.001642, allocations: 95.06 kB / 19.44 MB, free: 464 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.002799/0.002799, allocations: 169.2 kB / 22.75 MB, free: 1.789 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 1.489/1.489, allocations: 177.2 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.39/3.39, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] 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.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.797e-06/3.797e-06, allocations: 0 / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.661e-05/4.041e-05, allocations: 5.547 kB / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.00383/0.00387, allocations: 0.9297 MB / 0.8785 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.006044, allocations: 0.922 MB / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.00616, allocations: 1.125 kB / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.991e-05/0.00624, allocations: 15.8 kB / 0.8795 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.006421, allocations: 20.86 kB / 0.8795 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.006604, allocations: 51.94 kB / 0.8795 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.00036/0.006964, allocations: 173.1 kB / 0.8797 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000281/0.007245, allocations: 68.88 kB / 0.8798 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.007503, allocations: 99.8 kB / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.007649, allocations: 52.44 kB / 0.8799 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.686e-05/0.007706, allocations: 24.72 kB / 0.8799 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.166e-05/0.007748, allocations: 20 kB / 0.8799 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.525e-05/0.007813, allocations: 40.72 kB / 0.88 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.007914, allocations: 47.89 kB / 0.88 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004661/0.00838, allocations: 238 kB / 0.8803 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.008385, allocations: 0.875 kB / 0.8803 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.924e-06/0.008386, allocations: 4 kB / 0.8803 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.008395, allocations: 1.094 kB / 0.8803 GB, free: 3.809 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001132/0.009526, allocations: 387 kB / 0.8806 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.009581, allocations: 13.12 kB / 0.8806 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.009693, allocations: 28.84 kB / 0.8807 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.009995, allocations: 157.8 kB / 0.8808 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.01003, allocations: 17.67 kB / 0.8808 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.01006, allocations: 12.38 kB / 0.8808 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/0.01079, allocations: 189 kB / 0.881 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.01081, allocations: 4.172 kB / 0.881 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.01083, allocations: 4.375 kB / 0.881 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.01084, allocations: 4.375 kB / 0.881 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007734/0.01162, allocations: 176.7 kB / 0.8812 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009841/0.0126, allocations: 410.1 kB / 0.8816 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.0131, allocations: 150.4 kB / 0.8817 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.01347, allocations: 80.8 kB / 0.8818 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.0135, allocations: 7.938 kB / 0.8818 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.01354, allocations: 34.56 kB / 0.8819 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.01354, allocations: 0 / 0.8819 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.001186/0.01473, allocations: 249.5 kB / 0.8821 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.01478, allocations: 55.41 kB / 0.8821 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.01497, allocations: 134 kB / 0.8823 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.01499, allocations: 25.7 kB / 0.8823 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.01512, allocations: 132.3 kB / 0.8824 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/0.01517, allocations: 47.55 kB / 0.8825 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.415e-05/0.01526, allocations: 33.7 kB / 0.8825 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.01547, allocations: 322.8 kB / 0.8828 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.01581, allocations: 63.94 kB / 0.8829 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.01616, allocations: 93.89 kB / 0.883 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006506/0.01681, allocations: 173.8 kB / 0.8831 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01681, allocations: 0 / 0.8831 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006507/0.01746, allocations: 205.4 kB / 0.8833 GB, free: 496 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.01748, allocations: 8 kB / 0.8833 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.01749, allocations: 0 / 0.8833 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.01751, allocations: 0 / 0.8833 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.01773, allocations: 35.97 kB / 0.8834 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.01775, allocations: 7.984 kB / 0.8834 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.01788, allocations: 28 kB / 0.8834 GB, free: 416 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.0179, allocations: 4 kB / 0.8834 GB, free: 412 kB / 0.8386 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 (15): * Single equations (assignments): 15 * 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.0001262/0.01802, allocations: 125.7 kB / 0.8835 GB, free: 276 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.01807, allocations: 23.88 kB / 0.8835 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.01811, allocations: 16.78 kB / 0.8836 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01811, allocations: 0 / 0.8836 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.01812, allocations: 0 / 0.8836 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.01812, allocations: 0 / 0.8836 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.01837, allocations: 161.2 kB / 0.8837 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.01837, allocations: 8 kB / 0.8837 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.01856, allocations: 35.97 kB / 0.8838 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.352e-05/0.01858, allocations: 208 / 0.8838 GB, free: 16 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.0186, allocations: 7.922 kB / 0.8838 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.0186, allocations: 4 kB / 0.8838 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01861, allocations: 0 / 0.8838 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006409/0.01925, allocations: 295.3 kB / 0.8841 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.01926, allocations: 7.953 kB / 0.8841 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.01929, allocations: 3.938 kB / 0.8841 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.01945, allocations: 23.97 kB / 0.8841 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.01952, allocations: 15.97 kB / 0.8841 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.01952, allocations: 0 / 0.8841 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.959e-05/0.01961, allocations: 103.2 kB / 0.8842 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01961, allocations: 0 / 0.8842 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002657/0.01988, allocations: 31.95 kB / 0.8842 GB, free: 15.5 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 (13): * Single equations (assignments): 13 * 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.0001445/0.02002, allocations: 103.2 kB / 0.8843 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006861/0.02071, allocations: 155.8 kB / 0.8845 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02071, allocations: 128 / 0.8845 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.02098, allocations: 91.5 kB / 0.8846 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.02142, allocations: 33.11 kB / 0.8846 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007932/0.02221, allocations: 284.9 kB / 0.8849 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.02236, allocations: 106.7 kB / 0.885 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.797e-05/0.02244, allocations: 12.48 kB / 0.885 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.0225, allocations: 12.5 kB / 0.885 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of SimCode: time 5e-07/0.0225, allocations: 4 kB / 0.885 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of Templates: time 0.005119/0.02762, allocations: 1.43 MB / 0.8864 GB, free: 13.3 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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: 8.537946272059344]