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.001373/0.001373, allocations: 92.22 kB / 19.65 MB, free: 280 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.001542/0.001542, allocations: 169 kB / 23.02 MB, free: 1.555 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.9731/0.9731, allocations: 177.1 MB / 203.4 MB, free: 5.234 MB / 186.7 MB " [Timeout remaining time 179] 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 2.255/2.255, allocations: 429.5 MB / 0.6732 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] 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.054e-06/2.054e-06, allocations: 0 / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/2.013e-05, allocations: 7.125 kB / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.001829/0.001849, allocations: 0.8304 MB / 0.879 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.002916, allocations: 0.8788 MB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/0.002971, allocations: 5.656 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.157e-05/0.003012, allocations: 7.875 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.539e-05/0.003108, allocations: 11.86 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.857e-05/0.003186, allocations: 27.97 kB / 0.8799 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.003312, allocations: 100.2 kB / 0.88 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.003448, allocations: 30.16 kB / 0.88 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.003559, allocations: 55.89 kB / 0.8801 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.003621, allocations: 27.89 kB / 0.8801 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.003644, allocations: 12 kB / 0.8801 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.496e-05/0.003659, allocations: 8 kB / 0.8801 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.003687, allocations: 29.25 kB / 0.8802 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.003723, allocations: 19.98 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.003851, allocations: 67.69 kB / 0.8803 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003854, allocations: 1.594 kB / 0.8803 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003854, allocations: 0 / 0.8803 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.003859, allocations: 0 / 0.8803 GB, free: 4.164 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.000483/0.004342, allocations: 422.3 kB / 0.8807 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.004382, allocations: 8.031 kB / 0.8807 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.004427, allocations: 16.89 kB / 0.8807 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.004604, allocations: 136.4 kB / 0.8808 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.004618, allocations: 8.375 kB / 0.8808 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.004635, allocations: 6.906 kB / 0.8808 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.004837, allocations: 90.92 kB / 0.8809 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.004849, allocations: 192 / 0.8809 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.004861, allocations: 384 / 0.8809 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.004869, allocations: 384 / 0.8809 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.408e-05/0.004953, allocations: 31.91 kB / 0.8809 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.005378, allocations: 347.5 kB / 0.8813 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.005493, allocations: 55.05 kB / 0.8813 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.04e-05/0.005544, allocations: 27.61 kB / 0.8814 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.005556, allocations: 4 kB / 0.8814 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.005579, allocations: 33.39 kB / 0.8814 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.00558, allocations: 0 / 0.8814 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002032/0.005784, allocations: 69.69 kB / 0.8815 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.005814, allocations: 51.41 kB / 0.8815 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.005917, allocations: 169.9 kB / 0.8817 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.005931, allocations: 33.7 kB / 0.8817 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.005995, allocations: 150.9 kB / 0.8818 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.006024, allocations: 27.78 kB / 0.8819 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.00607, allocations: 31.3 kB / 0.8819 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.006203, allocations: 496.1 kB / 0.8824 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.509e-05/0.006238, allocations: 15.98 kB / 0.8824 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-05/0.006263, allocations: 4 kB / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.088e-05/0.006324, allocations: 27.69 kB / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.006326, allocations: 0 / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001105/0.006436, allocations: 61.64 kB / 0.8825 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.006452, allocations: 10.66 kB / 0.8825 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.006457, allocations: 4 kB / 0.8825 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.006474, allocations: 0 / 0.8825 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.006579, allocations: 19.92 kB / 0.8825 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.006583, allocations: 0 / 0.8825 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.227e-05/0.006626, allocations: 19.94 kB / 0.8825 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.006633, allocations: 3.984 kB / 0.8825 GB, free: 1.625 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 7.876e-05/0.006712, allocations: 156.5 kB / 0.8827 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.006739, allocations: 11.95 kB / 0.8827 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.00677, allocations: 12.44 kB / 0.8827 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.006771, allocations: 4 kB / 0.8827 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.006775, allocations: 0 / 0.8827 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.006778, allocations: 0 / 0.8827 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.006945, allocations: 144.5 kB / 0.8829 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.006947, allocations: 0 / 0.8829 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.324e-05/0.00701, allocations: 19.97 kB / 0.8829 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.007012, allocations: 0 / 0.8829 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.108e-06/0.007021, allocations: 4 kB / 0.8829 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.007022, allocations: 0 / 0.8829 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.007025, allocations: 7.938 kB / 0.8829 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.007192, allocations: 212.4 kB / 0.8831 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.007201, allocations: 11.95 kB / 0.8831 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.007213, allocations: 0 / 0.8831 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.007282, allocations: 7.984 kB / 0.8831 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.007331, allocations: 11.98 kB / 0.8831 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.007334, allocations: 0 / 0.8831 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.438e-05/0.007389, allocations: 131.2 kB / 0.8832 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.007389, allocations: 0 / 0.8832 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002513/0.00764, allocations: 15.94 kB / 0.8833 GB, free: 0.8203 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 8.467e-05/0.007725, allocations: 107.1 kB / 0.8834 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.007852, allocations: 43.73 kB / 0.8834 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.007854, allocations: 4 kB / 0.8834 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.327e-05/0.007897, allocations: 27.67 kB / 0.8834 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.008185, allocations: 24.52 kB / 0.8835 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.008591, allocations: 178.5 kB / 0.8836 GB, free: 408 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.99e-05/0.008641, allocations: 63.34 kB / 0.8837 GB, free: 324 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.591e-05/0.008677, allocations: 4 kB / 0.8837 GB, free: 320 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.008721, allocations: 12.5 kB / 0.8837 GB, free: 308 kB / 0.8386 GB Notification: Performance of SimCode: time 1.072e-06/0.008722, allocations: 0 / 0.8837 GB, free: 308 kB / 0.8386 GB Notification: Performance of Templates: time 0.003033/0.01176, allocations: 1.011 MB / 0.8847 GB, free: 15.34 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.744662607088685]