Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.001772/0.001772, allocations: 103 kB / 16.45 MB, free: 6.449 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.002151/0.002151, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.624/1.624, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.419/3.419, allocations: 0.49 GB / 0.7916 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] 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.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") [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.002312/0.002312, allocations: 73.69 kB / 1.149 GB, free: 26.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4243, allocations: 176.1 MB / 1.321 GB, free: 2.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002897/0.4272, allocations: 1.361 MB / 1.323 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.4287, allocations: 1.034 MB / 1.324 GB, free: 472 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.4288, allocations: 4 kB / 1.324 GB, free: 468 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.427e-05/0.4289, allocations: 35.53 kB / 1.324 GB, free: 432 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.4291, allocations: 31.67 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.4292, allocations: 119.9 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.4296, allocations: 344.6 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000368/0.43, allocations: 181.9 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.4302, allocations: 135.6 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.4304, allocations: 135.4 kB / 1.325 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.274e-05/0.4304, allocations: 48 kB / 1.325 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.045e-05/0.4305, allocations: 44 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.296e-05/0.4305, allocations: 79.77 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.4307, allocations: 155.3 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005814/0.4313, allocations: 0.5331 MB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4313, allocations: 0 / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4313, allocations: 4 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.4313, allocations: 0 / 1.325 GB, free: 14.63 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001088/0.4324, allocations: 0.577 MB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4324, allocations: 11.98 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.777e-05/0.4325, allocations: 32.75 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.4328, allocations: 270.7 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.4329, allocations: 29.03 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.4329, allocations: 32.38 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006882/0.4336, allocations: 314.6 kB / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4336, allocations: 192 / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.4336, allocations: 11.94 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.4336, allocations: 11.94 kB / 1.327 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007598/0.4344, allocations: 286.4 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.4357, allocations: 0.8857 MB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007029/0.4364, allocations: 256.2 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/0.4368, allocations: 128.8 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.4368, allocations: 4 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.4368, allocations: 38.5 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.383e-06/0.4368, allocations: 4 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001086/0.4379, allocations: 364 kB / 1.329 GB, free: 11.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.438, allocations: 59.34 kB / 1.329 GB, free: 11.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.4381, allocations: 135.5 kB / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.4382, allocations: 29.7 kB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.4383, allocations: 172.5 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.445e-05/0.4384, allocations: 87.28 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.292e-05/0.4385, allocations: 41.94 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4386, allocations: 326.8 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.4389, allocations: 92.39 kB / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.4393, allocations: 132.3 kB / 1.33 GB, free: 10.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006425/0.4399, allocations: 236.4 kB / 1.33 GB, free: 9.891 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4399, allocations: 0 / 1.33 GB, free: 9.891 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007078/0.4406, allocations: 283.5 kB / 1.33 GB, free: 9.609 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.4406, allocations: 8 kB / 1.33 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4406, allocations: 64 / 1.33 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.4407, allocations: 8 kB / 1.33 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.441, allocations: 59.89 kB / 1.33 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.441, allocations: 7.938 kB / 1.33 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.4411, allocations: 31.86 kB / 1.33 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.4412, allocations: 8 kB / 1.33 GB, free: 9.488 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (27): * Single equations (assignments): 27 * 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.0001636/0.4413, allocations: 145.8 kB / 1.33 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.4414, allocations: 19.91 kB / 1.33 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.783e-05/0.4414, allocations: 25.17 kB / 1.33 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4414, allocations: 4 kB / 1.33 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.4415, allocations: 3.938 kB / 1.33 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4415, allocations: 0 / 1.33 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.4419, allocations: 357.3 kB / 1.331 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4419, allocations: 0 / 1.331 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.4422, allocations: 59.89 kB / 1.331 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4422, allocations: 3.938 kB / 1.331 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.4422, allocations: 8 kB / 1.331 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4422, allocations: 4 kB / 1.331 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.4422, allocations: 3.938 kB / 1.331 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007472/0.443, allocations: 367.2 kB / 1.331 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.443, allocations: 96.94 kB / 1.331 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.443, allocations: 8 kB / 1.331 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.4432, allocations: 15.98 kB / 1.331 GB, free: 8.293 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.85e-05/0.4433, allocations: 27.84 kB / 1.331 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.4433, allocations: 4 kB / 1.331 GB, free: 8.262 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.447e-05/0.4434, allocations: 108.6 kB / 1.331 GB, free: 8.156 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4434, allocations: 0 / 1.331 GB, free: 8.156 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002933/0.4437, allocations: 63.78 kB / 1.331 GB, free: 8.094 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 (25): * Single equations (assignments): 25 * 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.0001474/0.4438, allocations: 107.2 kB / 1.332 GB, free: 7.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006966/0.4445, allocations: 235.2 kB / 1.332 GB, free: 7.754 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4445, allocations: 4.125 kB / 1.332 GB, free: 7.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000326/0.4449, allocations: 123.8 kB / 1.332 GB, free: 7.629 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.4453, allocations: 29.86 kB / 1.332 GB, free: 7.602 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.4463, allocations: 471.8 kB / 1.332 GB, free: 7.109 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.4468, allocations: 0.759 MB / 1.333 GB, free: 6.324 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.278e-05/0.4468, allocations: 17.55 kB / 1.333 GB, free: 6.309 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.4469, allocations: 15.44 kB / 1.333 GB, free: 6.293 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.4469, allocations: 4 kB / 1.333 GB, free: 6.289 MB / 1.029 GB Notification: Performance of Templates: time 0.005619/0.4525, allocations: 1.889 MB / 1.335 GB, free: 4.426 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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: 9.772235735785216]