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.PIDDerivativeTime.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.002579/0.002579, allocations: 89.48 kB / 19.44 MB, free: 332 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.003193/0.003193, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.599/1.599, allocations: 177.1 MB / 203.1 MB, free: 5.285 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.478/3.478, allocations: 429.5 MB / 0.6729 GB, free: 4.008 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.PIDDerivativeTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDDerTim.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDDerTim.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 0 / 0.8775 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.506e-05/3.799e-05, allocations: 3.062 kB / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.003749/0.003787, allocations: 0.8049 MB / 0.8783 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002278/0.006065, allocations: 0.8611 MB / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.519e-05/0.00615, allocations: 0 / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.316e-05/0.006213, allocations: 11.86 kB / 0.8791 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.006382, allocations: 15.86 kB / 0.8791 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.006515, allocations: 27.97 kB / 0.8792 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.006795, allocations: 93.89 kB / 0.8793 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.007011, allocations: 28.45 kB / 0.8793 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.007234, allocations: 59.88 kB / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.007344, allocations: 23.91 kB / 0.8794 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.007388, allocations: 12 kB / 0.8794 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.701e-05/0.007415, allocations: 8.719 kB / 0.8794 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.854e-05/0.007473, allocations: 27.91 kB / 0.8794 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.429e-05/0.007548, allocations: 25.58 kB / 0.8794 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.00785, allocations: 111.6 kB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.00786, allocations: 8 kB / 0.8795 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.954e-06/0.007862, allocations: 0 / 0.8795 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.007869, allocations: 0 / 0.8795 GB, free: 4.539 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001006/0.008875, allocations: 422.3 kB / 0.8799 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.757e-05/0.008942, allocations: 16.02 kB / 0.88 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.58e-05/0.009028, allocations: 12.89 kB / 0.88 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.009365, allocations: 136.4 kB / 0.8801 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.009391, allocations: 4.375 kB / 0.8801 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.009422, allocations: 9.562 kB / 0.8801 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.009852, allocations: 88.56 kB / 0.8802 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.009866, allocations: 5.781 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.009888, allocations: 4.375 kB / 0.8802 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.009895, allocations: 384 / 0.8802 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00047/0.01036, allocations: 79.89 kB / 0.8803 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009372/0.0113, allocations: 363.4 kB / 0.8806 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.01171, allocations: 90.89 kB / 0.8807 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.01194, allocations: 39.67 kB / 0.8808 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.01197, allocations: 4 kB / 0.8808 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.259e-05/0.01204, allocations: 37.39 kB / 0.8808 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.01204, allocations: 0 / 0.8808 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0008361/0.01288, allocations: 129.6 kB / 0.8809 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.955e-05/0.01295, allocations: 55.5 kB / 0.881 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.01321, allocations: 177.9 kB / 0.8811 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.01325, allocations: 25.7 kB / 0.8812 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.01343, allocations: 154.8 kB / 0.8813 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/0.01349, allocations: 23.8 kB / 0.8813 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.05e-05/0.01358, allocations: 27.36 kB / 0.8814 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004165/0.01399, allocations: 0.4922 MB / 0.8818 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.01417, allocations: 23.98 kB / 0.8819 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.01435, allocations: 39.97 kB / 0.8819 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.0147, allocations: 67.66 kB / 0.882 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.0147, allocations: 0 / 0.882 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005298/0.01523, allocations: 101.6 kB / 0.8821 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.01526, allocations: 4 kB / 0.8821 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.01526, allocations: 0 / 0.8821 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/0.01529, allocations: 3.984 kB / 0.8821 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.01549, allocations: 20 kB / 0.8821 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.0155, allocations: 0 / 0.8821 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.0156, allocations: 7.984 kB / 0.8821 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.01561, allocations: 0 / 0.8821 GB, free: 1.715 MB / 0.8386 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 (7): * Single equations (assignments): 7 * 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.0002187/0.01583, allocations: 168.5 kB / 0.8823 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.468e-05/0.01589, allocations: 11.95 kB / 0.8823 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.378e-05/0.01597, allocations: 12.44 kB / 0.8823 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01597, allocations: 0 / 0.8823 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.01598, allocations: 0 / 0.8823 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.01599, allocations: 3.984 kB / 0.8823 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.01638, allocations: 156.5 kB / 0.8824 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.01639, allocations: 4 kB / 0.8824 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.01657, allocations: 19.92 kB / 0.8825 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.01658, allocations: 0 / 0.8825 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.01659, allocations: 4 kB / 0.8825 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01659, allocations: 3.938 kB / 0.8825 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.0166, allocations: 0 / 0.8825 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006294/0.01723, allocations: 251.8 kB / 0.8827 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.01725, allocations: 11.95 kB / 0.8827 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.01728, allocations: 4 kB / 0.8827 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.01742, allocations: 7.984 kB / 0.8827 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.0175, allocations: 11.98 kB / 0.8827 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.01751, allocations: 0 / 0.8827 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001675/0.01768, allocations: 139.5 kB / 0.8829 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/0.01768, allocations: 0 / 0.8829 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004354/0.01811, allocations: 12 kB / 0.8829 GB, free: 0.8398 MB / 0.8386 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 (7): * Single equations (assignments): 7 * 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.0002039/0.01832, allocations: 107.2 kB / 0.883 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005291/0.01885, allocations: 84.25 kB / 0.8831 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.01885, allocations: 0 / 0.8831 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.0191, allocations: 51.75 kB / 0.8831 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.01967, allocations: 19.92 kB / 0.8831 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007832/0.02045, allocations: 190.4 kB / 0.8833 GB, free: 360 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.0206, allocations: 91.11 kB / 0.8834 GB, free: 248 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.526e-05/0.02068, allocations: 4 kB / 0.8834 GB, free: 244 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.02074, allocations: 12.5 kB / 0.8834 GB, free: 232 kB / 0.8386 GB Notification: Performance of SimCode: time 8.21e-07/0.02074, allocations: 0 / 0.8834 GB, free: 232 kB / 0.8386 GB Notification: Performance of Templates: time 0.007265/0.028, allocations: 1.003 MB / 0.8844 GB, free: 15.29 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.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.757860954036005]