Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001658/0.001658, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001789/0.001789, allocations: 216.4 kB / 22.99 MB, free: 4.945 MB / 14.72 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.139/3.139, allocations: 0.4892 GB / 0.7951 GB, free: 35.74 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 68.72 kB / 1.154 GB, free: 25.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3256, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002149/0.3278, allocations: 0.7803 MB / 1.327 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3289, allocations: 0.8549 MB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.732e-05/0.329, allocations: 3.938 kB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.887e-05/0.329, allocations: 7.875 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.08e-05/0.3291, allocations: 15.88 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.548e-05/0.3292, allocations: 27.97 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.3293, allocations: 91.77 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.3295, allocations: 40.42 kB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.3296, allocations: 32 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.725e-05/0.3297, allocations: 35.78 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.3297, allocations: 12 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.74e-05/0.3297, allocations: 11.94 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.3298, allocations: 19.92 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.3298, allocations: 35.86 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.33, allocations: 115.4 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.33, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.33, allocations: 4 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.33, allocations: 4 kB / 1.328 GB, free: 15.76 MB / 1.029 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.0005909/0.3306, allocations: 318 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.3306, allocations: 8.031 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.3306, allocations: 8.891 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.3308, allocations: 142.3 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.3309, allocations: 4.375 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.3309, allocations: 8.375 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.3312, allocations: 106.1 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3312, allocations: 192 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.3312, allocations: 11.94 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3312, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/0.3316, allocations: 91.91 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.332, allocations: 296.2 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.3323, allocations: 82.47 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.3325, allocations: 56.81 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.3325, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.3325, allocations: 30.56 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.3325, allocations: 0 / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006137/0.3332, allocations: 161.6 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.3332, allocations: 55.34 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.3333, allocations: 117.7 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3333, allocations: 25.7 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.3334, allocations: 108 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.3335, allocations: 27.73 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.3335, allocations: 17.72 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3336, allocations: 322.8 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.3338, allocations: 36.12 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.334, allocations: 47.94 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.3343, allocations: 89.25 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3343, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003841/0.3347, allocations: 125.5 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3347, allocations: 5.875 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3347, allocations: 4 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3347, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.3349, allocations: 23.97 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3349, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.522e-05/0.3349, allocations: 19.92 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.3349, allocations: 0 / 1.331 GB, free: 13.28 MB / 1.029 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 9.758e-05/0.335, allocations: 118.4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.3351, allocations: 7.953 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.3351, allocations: 12.36 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3351, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3351, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3351, allocations: 3.938 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.3353, allocations: 129.3 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3353, allocations: 4 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.3354, allocations: 27.91 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3354, allocations: 0 / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.3354, allocations: 0 / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3354, allocations: 4 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3354, allocations: 0 / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.3358, allocations: 223.4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.3359, allocations: 11.89 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.3359, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.336, allocations: 11.98 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.336, allocations: 12.36 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.336, allocations: 0 / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.914e-05/0.3361, allocations: 99.14 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3361, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002279/0.3363, allocations: 15.94 kB / 1.331 GB, free: 12.55 MB / 1.029 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.0001169/0.3365, allocations: 111.2 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003824/0.3368, allocations: 87.91 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3368, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.337, allocations: 47.91 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.3374, allocations: 24.59 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.3379, allocations: 209.5 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.036e-05/0.3379, allocations: 75.89 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.338, allocations: 15.42 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/0.338, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of Templates: time 0.002804/0.3408, allocations: 1.07 MB / 1.333 GB, free: 10.87 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.140852979850024]