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.PIDGain.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.002545/0.002545, allocations: 85.48 kB / 19.44 MB, free: 340 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.003156/0.003156, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.644/1.644, allocations: 177.1 MB / 203.1 MB, free: 5.645 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.379/3.379, allocations: 429.5 MB / 0.6729 GB, free: 4.02 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.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 0.8775 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.725e-05/3.968e-05, allocations: 4.703 kB / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002593/0.002633, allocations: 0.8533 MB / 0.8783 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.004257, allocations: 0.8734 MB / 0.8792 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.763e-05/0.004335, allocations: 4 kB / 0.8792 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.708e-05/0.004382, allocations: 11.86 kB / 0.8792 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.00453, allocations: 15.75 kB / 0.8792 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001091/0.004639, allocations: 39.95 kB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.004852, allocations: 120.6 kB / 0.8794 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.005036, allocations: 29.3 kB / 0.8794 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.005212, allocations: 69 kB / 0.8794 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.349e-05/0.005305, allocations: 35.89 kB / 0.8795 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.621e-05/0.005341, allocations: 12 kB / 0.8795 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.598e-05/0.005367, allocations: 13.59 kB / 0.8795 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.005427, allocations: 27.89 kB / 0.8795 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.061e-05/0.005487, allocations: 31.92 kB / 0.8796 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.005747, allocations: 147.4 kB / 0.8797 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.00575, allocations: 2.094 kB / 0.8797 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.32e-07/0.005751, allocations: 0 / 0.8797 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.005758, allocations: 0 / 0.8797 GB, free: 4.387 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008058/0.006564, allocations: 448 kB / 0.8801 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.006607, allocations: 10.47 kB / 0.8801 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.00667, allocations: 16.89 kB / 0.8802 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.006928, allocations: 151.5 kB / 0.8803 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.006946, allocations: 8.562 kB / 0.8803 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.855e-05/0.006965, allocations: 8.375 kB / 0.8803 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.007274, allocations: 107.2 kB / 0.8804 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.007285, allocations: 0 / 0.8804 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.007302, allocations: 5.656 kB / 0.8804 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.007311, allocations: 4 kB / 0.8804 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.007628, allocations: 83.94 kB / 0.8805 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007593/0.008387, allocations: 400.9 kB / 0.8809 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.008724, allocations: 103 kB / 0.881 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.008891, allocations: 51.66 kB / 0.881 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.008911, allocations: 0 / 0.881 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.008947, allocations: 37.39 kB / 0.8811 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.008948, allocations: 0 / 0.8811 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0005811/0.009529, allocations: 165.7 kB / 0.8812 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.009592, allocations: 55.39 kB / 0.8813 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.009769, allocations: 193.9 kB / 0.8815 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.009813, allocations: 29.7 kB / 0.8815 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.009932, allocations: 158.7 kB / 0.8817 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.009967, allocations: 27.75 kB / 0.8817 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.01003, allocations: 31.38 kB / 0.8817 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003292/0.01036, allocations: 0.4961 MB / 0.8822 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.0105, allocations: 35.97 kB / 0.8822 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.01065, allocations: 63.34 kB / 0.8823 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.01094, allocations: 99.27 kB / 0.8824 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01094, allocations: 0 / 0.8824 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003638/0.0113, allocations: 129.5 kB / 0.8825 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.01132, allocations: 8.016 kB / 0.8825 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01133, allocations: 4 kB / 0.8825 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.01134, allocations: 0 / 0.8825 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.01147, allocations: 23.98 kB / 0.8825 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.01148, allocations: 0 / 0.8825 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.884e-05/0.01156, allocations: 11.98 kB / 0.8826 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.01156, allocations: 0 / 0.8826 GB, free: 1.258 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0001408/0.01171, allocations: 172.5 kB / 0.8827 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.01174, allocations: 7.953 kB / 0.8827 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.939e-05/0.01179, allocations: 16.77 kB / 0.8827 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.01179, allocations: 8 kB / 0.8827 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.0118, allocations: 0 / 0.8827 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.0118, allocations: 0 / 0.8827 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.01209, allocations: 172.4 kB / 0.8829 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.0121, allocations: 3.984 kB / 0.8829 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.01223, allocations: 23.92 kB / 0.8829 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01223, allocations: 0 / 0.8829 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.01225, allocations: 4 kB / 0.8829 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01225, allocations: 3.938 kB / 0.8829 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01225, allocations: 0 / 0.8829 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.0127, allocations: 284.1 kB / 0.8832 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.01272, allocations: 7.953 kB / 0.8832 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.01274, allocations: 0 / 0.8832 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.01284, allocations: 11.98 kB / 0.8832 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.01291, allocations: 11.98 kB / 0.8832 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.01292, allocations: 4 kB / 0.8833 GB, free: 480 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001069/0.01302, allocations: 143.1 kB / 0.8834 GB, free: 336 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.01302, allocations: 4 kB / 0.8834 GB, free: 332 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002417/0.01327, allocations: 23.94 kB / 0.8834 GB, free: 308 kB / 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 (8): * Single equations (assignments): 8 * 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.000147/0.01341, allocations: 99.25 kB / 0.8835 GB, free: 200 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.01379, allocations: 95.62 kB / 0.8836 GB, free: 100 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01379, allocations: 0 / 0.8836 GB, free: 100 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.01396, allocations: 59.59 kB / 0.8837 GB, free: 36 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.0143, allocations: 28.17 kB / 0.8837 GB, free: 8 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000594/0.01489, allocations: 214.7 kB / 0.8839 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.01499, allocations: 84.31 kB / 0.884 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.566e-05/0.01506, allocations: 8 kB / 0.884 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.01511, allocations: 12.5 kB / 0.884 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.01511, allocations: 4 kB / 0.884 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of Templates: time 0.005137/0.02025, allocations: 1.303 MB / 0.8853 GB, free: 14.41 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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.649492772994563]