Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.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.001072/0.001072, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001395/0.001395, allocations: 165 kB / 23.82 MB, free: 0.7422 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.102/1.102, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.913/1.913, allocations: 377.8 MB / 0.6236 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|tOn.y|tOff.y|tunSta.y|gai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|tOn.y|tOff.y|tunSta.y|gai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 0 / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.209e-05, allocations: 9.531 kB / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.001949/0.001981, allocations: 1.191 MB / 0.8127 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.003975, allocations: 1.531 MB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.00408, allocations: 4 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.657e-05/0.004137, allocations: 24.33 kB / 0.8143 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.004294, allocations: 64.75 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007579/0.005051, allocations: 444.9 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004112/0.005463, allocations: 0.5317 MB / 0.8153 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.005634, allocations: 64.05 kB / 0.8153 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.005895, allocations: 303.5 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.006096, allocations: 153 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.319e-05/0.006159, allocations: 52 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.00626, allocations: 60 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/0.006305, allocations: 51.83 kB / 0.8159 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.006435, allocations: 153.4 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003823/0.006817, allocations: 386.9 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.00682, allocations: 0 / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.02e-07/0.006821, allocations: 0 / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.006827, allocations: 0 / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0007721/0.0076, allocations: 0.7295 MB / 0.8171 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.00764, allocations: 8.031 kB / 0.8171 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.007741, allocations: 56.73 kB / 0.8172 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.008066, allocations: 249 kB / 0.8174 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.008098, allocations: 20.38 kB / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.008155, allocations: 28.38 kB / 0.8175 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.008381, allocations: 128.9 kB / 0.8176 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.008395, allocations: 4.188 kB / 0.8176 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.008412, allocations: 4.906 kB / 0.8176 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.008426, allocations: 10 kB / 0.8176 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.695e-05/0.008523, allocations: 52.55 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007342/0.009257, allocations: 0.6206 MB / 0.8183 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.009511, allocations: 92 kB / 0.8184 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.924e-05/0.009571, allocations: 37.16 kB / 0.8184 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.009581, allocations: 4 kB / 0.8184 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.009757, allocations: 140.8 kB / 0.8185 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.824e-06/0.009759, allocations: 0.625 kB / 0.8185 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.000348/0.01011, allocations: 215.3 kB / 0.8187 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.01014, allocations: 60.39 kB / 0.8188 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.01034, allocations: 280.3 kB / 0.8191 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.01038, allocations: 45.62 kB / 0.8191 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.01049, allocations: 211.9 kB / 0.8193 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.01053, allocations: 59.53 kB / 0.8194 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.01065, allocations: 104.2 kB / 0.8195 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.01078, allocations: 0.5091 MB / 0.82 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.01101, allocations: 235 kB / 0.8202 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/0.01156, allocations: 356.2 kB / 0.8205 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.01187, allocations: 383.3 kB / 0.8209 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01188, allocations: 0.9688 kB / 0.8209 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006351/0.01251, allocations: 0.6494 MB / 0.8215 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/0.01258, allocations: 134.8 kB / 0.8217 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01258, allocations: 4 kB / 0.8217 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.0126, allocations: 7.438 kB / 0.8217 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.518e-05/0.01267, allocations: 23.92 kB / 0.8217 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.01268, allocations: 4 kB / 0.8217 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.01293, allocations: 91.7 kB / 0.8218 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.01297, allocations: 31.97 kB / 0.8218 GB, free: 6.723 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 17 (tunSta.y,$PRE.tunSta.y,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,u.booPul.y,$PRE.u.booPul.y,tOn.booPul.y,$PRE.tOn.booPul.y,tOff.booPul.y,$PRE.tOff.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 4 * 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.0001227/0.01309, allocations: 187 kB / 0.822 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.01312, allocations: 31.86 kB / 0.822 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.01317, allocations: 30.83 kB / 0.8221 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.01317, allocations: 0.5625 kB / 0.8221 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01318, allocations: 0 / 0.8221 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01318, allocations: 4.844 kB / 0.8221 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.01359, allocations: 487.1 kB / 0.8225 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.0136, allocations: 1.094 kB / 0.8225 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-05/0.01366, allocations: 15.94 kB / 0.8225 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.01366, allocations: 7.922 kB / 0.8226 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.01367, allocations: 8.562 kB / 0.8226 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01368, allocations: 0.6562 kB / 0.8226 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01368, allocations: 0 / 0.8226 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.01399, allocations: 367.2 kB / 0.8229 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/0.01401, allocations: 23.8 kB / 0.8229 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.01403, allocations: 7.984 kB / 0.8229 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.576e-05/0.01408, allocations: 11.97 kB / 0.823 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.01412, allocations: 19.91 kB / 0.823 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.01413, allocations: 12 kB / 0.823 GB, free: 5.48 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001105/0.01424, allocations: 197.1 kB / 0.8232 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01424, allocations: 0 / 0.8232 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002526/0.01449, allocations: 79.89 kB / 0.8232 GB, free: 5.207 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gai.Iy.y) * Number of discrete variables: 13 ($whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,tunSta.y,tOff.booPul.y,tOn.booPul.y,u.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001508/0.01464, allocations: 115.2 kB / 0.8234 GB, free: 5.082 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004731/0.01512, allocations: 0.5759 MB / 0.8239 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01512, allocations: 0 / 0.8239 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.658e-05/0.0152, allocations: 75.5 kB / 0.824 GB, free: 4.352 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.01553, allocations: 70.69 kB / 0.8241 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005539/0.01608, allocations: 405 kB / 0.8244 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.078e-05/0.01613, allocations: 80.33 kB / 0.8245 GB, free: 3.766 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.687e-05/0.01619, allocations: 25.94 kB / 0.8245 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.01623, allocations: 20.5 kB / 0.8246 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of SimCode: time 6.32e-07/0.01623, allocations: 0.625 kB / 0.8246 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of Templates: time 0.007336/0.02357, allocations: 5.261 MB / 0.8297 GB, free: 14.65 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_Gain.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.610204072203487]