Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 98.53 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 390.3 MB / 0.6653 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003225, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6904/0.6907, allocations: 142.3 MB / 0.9535 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.002562/0.6933, allocations: 2.297 MB / 0.9558 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.6946, allocations: 0.5746 MB / 0.9563 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002403/0.6948, allocations: 12.72 kB / 0.9563 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.926e-05/0.6949, allocations: 39.58 kB / 0.9564 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.6952, allocations: 74.73 kB / 0.9565 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.6955, allocations: 124.6 kB / 0.9566 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.6959, allocations: 303.7 kB / 0.9569 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.6962, allocations: 204 kB / 0.9571 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.787e-05/0.6963, allocations: 108.5 kB / 0.9572 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.6964, allocations: 134.2 kB / 0.9573 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.6964, allocations: 11.75 kB / 0.9573 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.076e-05/0.6965, allocations: 11.22 kB / 0.9573 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.6965, allocations: 57.75 kB / 0.9574 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.6966, allocations: 92.55 kB / 0.9575 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.6969, allocations: 487.4 kB / 0.9579 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.6969, allocations: 0 / 0.9579 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6969, allocations: 0 / 0.9579 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.6969, allocations: 0 / 0.9579 GB, free: 4.621 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001008/0.698, allocations: 0.7036 MB / 0.9586 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.698, allocations: 10.31 kB / 0.9586 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.153e-05/0.6981, allocations: 53.58 kB / 0.9587 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.6985, allocations: 347.4 kB / 0.959 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.6985, allocations: 33.5 kB / 0.959 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.6986, allocations: 43.75 kB / 0.9591 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/0.6992, allocations: 414.1 kB / 0.9595 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.6992, allocations: 4.969 kB / 0.9595 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.6993, allocations: 16.12 kB / 0.9595 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.6993, allocations: 12.88 kB / 0.9595 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005611/0.6998, allocations: 309 kB / 0.9598 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.7016, allocations: 1.403 MB / 0.9612 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007032/0.7023, allocations: 291.7 kB / 0.9614 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.7023, allocations: 6 kB / 0.9615 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.7023, allocations: 36.75 kB / 0.9615 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.7023, allocations: 0 / 0.9615 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0006896/0.703, allocations: 323.1 kB / 0.9618 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.7031, allocations: 109.4 kB / 0.9619 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/0.7035, allocations: 413.5 kB / 0.9623 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.7036, allocations: 31.73 kB / 0.9623 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.7037, allocations: 259.1 kB / 0.9626 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.7037, allocations: 79.52 kB / 0.9626 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.7038, allocations: 5 kB / 0.9627 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.793e-05/0.7038, allocations: 351.9 kB / 0.963 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.7041, allocations: 113 kB / 0.9631 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.7043, allocations: 213.6 kB / 0.9633 GB, free: 460 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.7046, allocations: 130.1 kB / 0.9634 GB, free: 400 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.7046, allocations: 1.469 kB / 0.9634 GB, free: 400 kB / 0.7169 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000596/0.7052, allocations: 378.7 kB / 0.9638 GB, free: 204 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.000338/0.7055, allocations: 0.7908 MB / 0.9646 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.7056, allocations: 6.391 kB / 0.9646 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.7056, allocations: 7.562 kB / 0.9646 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.7059, allocations: 78.64 kB / 0.9646 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.7059, allocations: 3.531 kB / 0.9646 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.7061, allocations: 68.16 kB / 0.9647 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.7062, allocations: 12.44 kB / 0.9647 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.7062, allocations: 7 kB / 0.9647 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003734/0.7066, allocations: 242.3 kB / 0.965 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.7066, allocations: 2.438 kB / 0.965 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.37e-06/0.7066, allocations: 4.344 kB / 0.965 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.7068, allocations: 63.31 kB / 0.965 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.7068, allocations: 7.469 kB / 0.965 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.707, allocations: 45.36 kB / 0.9651 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.707, allocations: 8.781 kB / 0.9651 GB, free: 15.12 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.noTri.y,limPID.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002172/0.7073, allocations: 237.6 kB / 0.9653 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.7073, allocations: 37.53 kB / 0.9654 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.998e-05/0.7074, allocations: 46.25 kB / 0.9654 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.7074, allocations: 2.344 kB / 0.9654 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7075, allocations: 0 / 0.9654 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.7075, allocations: 5.25 kB / 0.9654 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.7087, allocations: 0.7632 MB / 0.9661 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.7087, allocations: 4.984 kB / 0.9662 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.7089, allocations: 39.27 kB / 0.9662 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.7089, allocations: 6.203 kB / 0.9662 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.7089, allocations: 15.09 kB / 0.9662 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.7089, allocations: 1.875 kB / 0.9662 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.709, allocations: 1 kB / 0.9662 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008378/0.7098, allocations: 0.5028 MB / 0.9667 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.716e-05/0.7099, allocations: 123.4 kB / 0.9668 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.71, allocations: 6.25 kB / 0.9668 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.7102, allocations: 24.36 kB / 0.9669 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.7102, allocations: 14.42 kB / 0.9669 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.7102, allocations: 4.594 kB / 0.9669 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003511/0.7106, allocations: 295.3 kB / 0.9672 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7106, allocations: 1.219 kB / 0.9672 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005348/0.7111, allocations: 133.4 kB / 0.9673 GB, free: 13.46 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001509/0.7113, allocations: 114.9 kB / 0.9674 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008275/0.7121, allocations: 396.3 kB / 0.9678 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7121, allocations: 0.75 kB / 0.9678 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.7123, allocations: 107 kB / 0.9679 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.7128, allocations: 75.17 kB / 0.9679 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.7142, allocations: 0.8272 MB / 0.9687 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.7146, allocations: 0.8174 MB / 0.9695 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.7148, allocations: 42.73 kB / 0.9696 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.888e-05/0.7149, allocations: 28.41 kB / 0.9696 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/0.7149, allocations: 0 / 0.9696 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of Templates: time 0.007583/0.7225, allocations: 3.362 MB / 0.9729 GB, free: 10.1 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches