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.001442/0.001442, allocations: 88.72 kB / 19.44 MB, free: 356 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.001599/0.001599, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.495/1.495, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.266/3.266, allocations: 429.6 MB / 0.673 GB, free: 3.934 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 1.703e-06/1.703e-06, allocations: 0 / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.649e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002029/0.002056, allocations: 0.7787 MB / 0.8784 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.003362, allocations: 0.8646 MB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.506e-05/0.003417, allocations: 0 / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.14e-05/0.003458, allocations: 8.531 kB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.00356, allocations: 16.45 kB / 0.8793 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.34e-05/0.003644, allocations: 33.55 kB / 0.8793 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.003802, allocations: 91.77 kB / 0.8794 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.003948, allocations: 28.45 kB / 0.8794 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.004092, allocations: 59.88 kB / 0.8795 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/0.00416, allocations: 25.78 kB / 0.8795 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.004189, allocations: 12 kB / 0.8795 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.55e-05/0.004205, allocations: 8 kB / 0.8795 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.004244, allocations: 31.84 kB / 0.8795 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.514e-05/0.00429, allocations: 19.98 kB / 0.8796 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.004479, allocations: 118.3 kB / 0.8797 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.004484, allocations: 4 kB / 0.8797 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004485, allocations: 0 / 0.8797 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.00449, allocations: 0 / 0.8797 GB, free: 4.422 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.000901/0.005391, allocations: 326 kB / 0.88 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.00543, allocations: 8.75 kB / 0.88 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.005493, allocations: 16.89 kB / 0.88 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.00571, allocations: 139.3 kB / 0.8801 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.005725, allocations: 4.375 kB / 0.8801 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.005744, allocations: 8.375 kB / 0.8802 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.006086, allocations: 106.2 kB / 0.8803 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.006095, allocations: 192 / 0.8803 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.006114, allocations: 8.375 kB / 0.8803 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-06/0.006121, allocations: 8.359 kB / 0.8803 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003698/0.006491, allocations: 99.84 kB / 0.8804 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.007014, allocations: 288.2 kB / 0.8806 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.00729, allocations: 82.47 kB / 0.8807 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.007477, allocations: 52.81 kB / 0.8808 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.007494, allocations: 0 / 0.8808 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.007534, allocations: 34.56 kB / 0.8808 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.007535, allocations: 0 / 0.8808 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0006584/0.008193, allocations: 165.5 kB / 0.881 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.008248, allocations: 51.41 kB / 0.881 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.008379, allocations: 114.1 kB / 0.8811 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.008406, allocations: 25.7 kB / 0.8811 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.386e-05/0.0085, allocations: 104 kB / 0.8812 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.008544, allocations: 27.94 kB / 0.8813 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.008596, allocations: 21.7 kB / 0.8813 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.008801, allocations: 322.8 kB / 0.8816 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.008977, allocations: 35.95 kB / 0.8816 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.009138, allocations: 43.97 kB / 0.8817 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.009461, allocations: 84.78 kB / 0.8818 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.009463, allocations: 0 / 0.8818 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004109/0.009874, allocations: 129.5 kB / 0.8819 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.009896, allocations: 11.98 kB / 0.8819 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.009901, allocations: 0 / 0.8819 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.009922, allocations: 0 / 0.8819 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.01008, allocations: 19.98 kB / 0.8819 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.01009, allocations: 0 / 0.8819 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.812e-05/0.01019, allocations: 15.98 kB / 0.8819 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.01019, allocations: 0 / 0.8819 GB, free: 1.945 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.0001173/0.01031, allocations: 125.7 kB / 0.882 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.01035, allocations: 15.94 kB / 0.8821 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.535e-05/0.01038, allocations: 8.438 kB / 0.8821 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.01038, allocations: 4 kB / 0.8821 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01039, allocations: 0 / 0.8821 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.01039, allocations: 0 / 0.8821 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.01062, allocations: 137.2 kB / 0.8822 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01062, allocations: 0 / 0.8822 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.01076, allocations: 23.92 kB / 0.8822 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01077, allocations: 0 / 0.8822 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.01077, allocations: 4 kB / 0.8822 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01078, allocations: 0.5469 kB / 0.8822 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.01078, allocations: 0 / 0.8822 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004901/0.01127, allocations: 227.3 kB / 0.8824 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.01128, allocations: 7.953 kB / 0.8825 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.0113, allocations: 0 / 0.8825 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.01143, allocations: 11.98 kB / 0.8825 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/0.01151, allocations: 15.98 kB / 0.8825 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.01151, allocations: 0 / 0.8825 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.343e-05/0.01161, allocations: 99.23 kB / 0.8826 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01161, allocations: 3.938 kB / 0.8826 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002508/0.01186, allocations: 12 kB / 0.8826 GB, free: 1.203 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.0001674/0.01202, allocations: 103.2 kB / 0.8827 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004112/0.01243, allocations: 87.91 kB / 0.8828 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.01244, allocations: 4 kB / 0.8828 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.01264, allocations: 47.89 kB / 0.8828 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.01302, allocations: 21.03 kB / 0.8828 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.01359, allocations: 192.7 kB / 0.883 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.01372, allocations: 83.12 kB / 0.8831 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.583e-05/0.01377, allocations: 7.984 kB / 0.8831 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.01382, allocations: 12.5 kB / 0.8831 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of SimCode: time 6.81e-07/0.01382, allocations: 0 / 0.8831 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of Templates: time 0.004185/0.01801, allocations: 1.011 MB / 0.8841 GB, free: 15.66 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 800] 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.391094836988486]