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.001094/0.001094, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009567/0.0009567, allocations: 173 kB / 23.49 MB, free: 1.059 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.9802/0.9802, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.106/2.106, allocations: 429.5 MB / 0.6736 GB, free: 4.051 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.365e-06/2.365e-06, allocations: 0 / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.43e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002013/0.002037, allocations: 0.812 MB / 0.879 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.003043, allocations: 0.8828 MB / 0.8799 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.003095, allocations: 0.75 kB / 0.8799 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.196e-05/0.003127, allocations: 3.938 kB / 0.8799 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.187e-05/0.003219, allocations: 16.56 kB / 0.8799 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.937e-05/0.003289, allocations: 24.53 kB / 0.8799 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.003403, allocations: 103.7 kB / 0.88 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.003542, allocations: 37.62 kB / 0.88 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.003644, allocations: 51.89 kB / 0.8801 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/0.003702, allocations: 31.89 kB / 0.8801 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.003726, allocations: 9.094 kB / 0.8801 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.003738, allocations: 8 kB / 0.8801 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.003761, allocations: 19.92 kB / 0.8802 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.003798, allocations: 32.56 kB / 0.8802 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.003907, allocations: 56.53 kB / 0.8802 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003909, allocations: 3.938 kB / 0.8802 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003909, allocations: 1.375 kB / 0.8802 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.003915, allocations: 0 / 0.8802 GB, free: 4.543 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.0004409/0.004356, allocations: 424.3 kB / 0.8807 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.004396, allocations: 13.06 kB / 0.8807 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.004439, allocations: 12.89 kB / 0.8807 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.004623, allocations: 133.6 kB / 0.8808 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.004636, allocations: 8.375 kB / 0.8808 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.004648, allocations: 4.375 kB / 0.8808 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.004819, allocations: 91.95 kB / 0.8809 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.004825, allocations: 192 / 0.8809 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.004837, allocations: 5.5 kB / 0.8809 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.004847, allocations: 4.375 kB / 0.8809 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.721e-05/0.004915, allocations: 31.91 kB / 0.8809 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.005285, allocations: 340.2 kB / 0.8813 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.005392, allocations: 59.66 kB / 0.8813 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.005434, allocations: 29.31 kB / 0.8814 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.005446, allocations: 0 / 0.8814 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.005471, allocations: 49.27 kB / 0.8814 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.005472, allocations: 0 / 0.8814 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001721/0.005644, allocations: 65.69 kB / 0.8815 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.005673, allocations: 51.91 kB / 0.8815 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.584e-05/0.005759, allocations: 171.6 kB / 0.8817 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.00577, allocations: 25.7 kB / 0.8817 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.005826, allocations: 154.7 kB / 0.8819 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.00585, allocations: 15.86 kB / 0.8819 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.005882, allocations: 28.23 kB / 0.8819 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.005996, allocations: 0.4922 MB / 0.8824 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.563e-05/0.006022, allocations: 8.141 kB / 0.8824 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.269e-05/0.006045, allocations: 16.58 kB / 0.8824 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.657e-05/0.006091, allocations: 27.69 kB / 0.8824 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006093, allocations: 1.594 kB / 0.8824 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.478e-05/0.006178, allocations: 69.64 kB / 0.8825 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.006191, allocations: 4 kB / 0.8825 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.006195, allocations: 0 / 0.8825 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.006208, allocations: 2.938 kB / 0.8825 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.681e-05/0.006295, allocations: 19.98 kB / 0.8825 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.0063, allocations: 0 / 0.8825 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.66e-05/0.006327, allocations: 11.88 kB / 0.8825 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.006331, allocations: 0 / 0.8825 GB, free: 2.012 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.422e-05/0.006405, allocations: 168.5 kB / 0.8827 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.006423, allocations: 9.547 kB / 0.8827 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.00645, allocations: 8.438 kB / 0.8827 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.006451, allocations: 0 / 0.8827 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.006457, allocations: 4 kB / 0.8827 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.00646, allocations: 0 / 0.8827 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.006578, allocations: 148.5 kB / 0.8829 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006579, allocations: 0 / 0.8829 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.006617, allocations: 15.98 kB / 0.8829 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.006618, allocations: 0 / 0.8829 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.006625, allocations: 4 kB / 0.8829 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.006625, allocations: 0 / 0.8829 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.006626, allocations: 0 / 0.8829 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.006752, allocations: 215.8 kB / 0.8831 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.956e-06/0.006761, allocations: 11.89 kB / 0.8831 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.006773, allocations: 4 kB / 0.8831 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.88e-05/0.006812, allocations: 11.98 kB / 0.8831 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.006859, allocations: 11.98 kB / 0.8831 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.006861, allocations: 0 / 0.8831 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.038e-05/0.006902, allocations: 127.6 kB / 0.8832 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006902, allocations: 0 / 0.8832 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001465/0.007048, allocations: 19.94 kB / 0.8833 GB, free: 1.199 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 7.262e-05/0.007121, allocations: 103.2 kB / 0.8834 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.007222, allocations: 40.23 kB / 0.8834 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.007224, allocations: 0 / 0.8834 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.053e-05/0.007254, allocations: 23.69 kB / 0.8834 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.007467, allocations: 24.5 kB / 0.8834 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.007823, allocations: 184.8 kB / 0.8836 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.884e-05/0.007862, allocations: 63.3 kB / 0.8837 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.007891, allocations: 7.984 kB / 0.8837 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.00792, allocations: 12.5 kB / 0.8837 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of SimCode: time 6.31e-07/0.007921, allocations: 0 / 0.8837 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of Templates: time 0.002857/0.01078, allocations: 1.022 MB / 0.8847 GB, free: 15.73 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.412991957971826]