Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,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.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,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.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008548/0.000855, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009678/0.0009679, allocations: 172.7 kB / 15.95 MB, free: 208 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.448/1.448, allocations: 223.3 MB / 240 MB, free: 5.289 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.455/2.455, allocations: 390.9 MB / 0.666 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004342/0.0004344, allocations: 16 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8862/0.8866, allocations: 142.4 MB / 0.9545 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.002378/0.8891, allocations: 1.38 MB / 0.9558 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.8907, allocations: 1.226 MB / 0.957 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.8909, allocations: 7.281 kB / 0.957 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.8911, allocations: 51.83 kB / 0.9571 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.8912, allocations: 35.91 kB / 0.9571 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.8916, allocations: 112.9 kB / 0.9572 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003924/0.892, allocations: 420 kB / 0.9576 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.8923, allocations: 188.2 kB / 0.9578 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.8924, allocations: 105.1 kB / 0.9579 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.8926, allocations: 132.4 kB / 0.958 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.899e-05/0.8927, allocations: 12.16 kB / 0.958 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.414e-05/0.8927, allocations: 16.38 kB / 0.958 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.275e-05/0.8928, allocations: 64 kB / 0.9581 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.825e-05/0.8928, allocations: 84.7 kB / 0.9582 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.8932, allocations: 438.4 kB / 0.9586 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.8932, allocations: 5.125 kB / 0.9586 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8932, allocations: 0 / 0.9586 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.8932, allocations: 0 / 0.9586 GB, free: 4.715 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001007/0.8942, allocations: 0.6761 MB / 0.9593 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.8943, allocations: 9.781 kB / 0.9593 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.8944, allocations: 59.45 kB / 0.9593 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.8948, allocations: 332.5 kB / 0.9596 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/0.8948, allocations: 34.28 kB / 0.9597 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/0.8949, allocations: 37.16 kB / 0.9597 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000747/0.8957, allocations: 413.8 kB / 0.9601 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.8957, allocations: 0 / 0.9601 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.8957, allocations: 16.12 kB / 0.9601 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.8958, allocations: 9.625 kB / 0.9601 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005811/0.8963, allocations: 304.2 kB / 0.9604 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.8983, allocations: 1.394 MB / 0.9618 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006985/0.899, allocations: 273.6 kB / 0.962 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.8992, allocations: 129 kB / 0.9622 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.8992, allocations: 6.984 kB / 0.9622 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.8993, allocations: 39.75 kB / 0.9622 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.714e-06/0.8993, allocations: 1.031 kB / 0.9622 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0007068/0.9, allocations: 315 kB / 0.9625 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.9001, allocations: 104.7 kB / 0.9626 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.9005, allocations: 401.8 kB / 0.963 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.9005, allocations: 32.14 kB / 0.963 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.9007, allocations: 256.1 kB / 0.9633 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.9007, allocations: 67.86 kB / 0.9633 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/0.9008, allocations: 9.062 kB / 0.9633 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.608e-05/0.9008, allocations: 350.7 kB / 0.9637 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.9011, allocations: 118 kB / 0.9638 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.9014, allocations: 212.7 kB / 0.964 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.9017, allocations: 143.4 kB / 0.9641 GB, free: 484 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9017, allocations: 0 / 0.9641 GB, free: 484 kB / 0.7169 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006443/0.9024, allocations: 378.1 kB / 0.9645 GB, free: 288 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.298e-05/0.9024, allocations: 145.8 kB / 0.9646 GB, free: 120 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.9025, allocations: 2.969 kB / 0.9646 GB, free: 120 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.9025, allocations: 7.797 kB / 0.9646 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.9028, allocations: 77.89 kB / 0.9647 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.9028, allocations: 11.7 kB / 0.9647 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.903, allocations: 59.22 kB / 0.9648 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.9031, allocations: 14.09 kB / 0.9648 GB, free: 52 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/0.9031, allocations: 4.188 kB / 0.9648 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004616/0.9035, allocations: 260.9 kB / 0.965 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.9036, allocations: 2.719 kB / 0.9651 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.292e-06/0.9036, allocations: 3.781 kB / 0.9651 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.9038, allocations: 68.19 kB / 0.9651 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.9038, allocations: 3.188 kB / 0.9651 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.904, allocations: 45.73 kB / 0.9652 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.904, allocations: 13.06 kB / 0.9652 GB, free: 15.87 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.con1.y,limPID.con1.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.0002124/0.9042, allocations: 234.3 kB / 0.9654 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.755e-05/0.9043, allocations: 40.55 kB / 0.9654 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005412/0.9048, allocations: 256.6 kB / 0.9657 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.9049, allocations: 2.188 kB / 0.9657 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.9049, allocations: 3.984 kB / 0.9657 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.9049, allocations: 0 / 0.9657 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.9062, allocations: 0.8058 MB / 0.9665 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.9062, allocations: 6.375 kB / 0.9665 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.9064, allocations: 48.06 kB / 0.9665 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.9064, allocations: 2 kB / 0.9665 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.9064, allocations: 7.25 kB / 0.9665 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.9065, allocations: 6.531 kB / 0.9665 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.9065, allocations: 2.188 kB / 0.9665 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007388/0.9072, allocations: 485.7 kB / 0.967 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.258e-05/0.9073, allocations: 119.2 kB / 0.9671 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.9074, allocations: 7.125 kB / 0.9671 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.9075, allocations: 24.23 kB / 0.9672 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.9076, allocations: 19.16 kB / 0.9672 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.9076, allocations: 6.094 kB / 0.9672 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000315/0.9079, allocations: 282.1 kB / 0.9674 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.793e-06/0.9079, allocations: 3.938 kB / 0.9675 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005437/0.9085, allocations: 136.1 kB / 0.9676 GB, free: 14.09 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.0001831/0.9087, allocations: 116.8 kB / 0.9677 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008176/0.9095, allocations: 402.4 kB / 0.9681 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.9095, allocations: 1.312 kB / 0.9681 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.9097, allocations: 101.7 kB / 0.9682 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005667/0.9103, allocations: 70.77 kB / 0.9682 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.9117, allocations: 0.7887 MB / 0.969 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.9121, allocations: 0.7955 MB / 0.9698 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.9123, allocations: 42.55 kB / 0.9698 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.9124, allocations: 35.36 kB / 0.9699 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of SimCode: time 3.9e-07/0.9124, allocations: 0 / 0.9699 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of Templates: time 0.007389/0.9198, allocations: 3.159 MB / 0.9729 GB, free: 10.85 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches