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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0008457/0.0008457, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.007035/0.007035, allocations: 173.7 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.583/2.583, allocations: 390.9 MB / 0.6663 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000447/0.0004469, allocations: 12 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8915/0.892, allocations: 142.4 MB / 0.9551 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.001859/0.8939, allocations: 1.488 MB / 0.9565 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.8953, allocations: 1.236 MB / 0.9577 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.8955, allocations: 11 kB / 0.9577 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.8957, allocations: 51.67 kB / 0.9578 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.8959, allocations: 35.7 kB / 0.9578 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.8962, allocations: 141.6 kB / 0.958 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000392/0.8966, allocations: 446.2 kB / 0.9584 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004124/0.897, allocations: 256.6 kB / 0.9586 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.8972, allocations: 121.4 kB / 0.9587 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.8973, allocations: 137.3 kB / 0.9589 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.8974, allocations: 12.09 kB / 0.9589 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.13e-05/0.8974, allocations: 10.84 kB / 0.9589 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.8975, allocations: 64.19 kB / 0.959 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.8976, allocations: 183.1 kB / 0.9591 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000377/0.898, allocations: 0.5155 MB / 0.9596 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.898, allocations: 1.594 kB / 0.9596 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.898, allocations: 0 / 0.9596 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.898, allocations: 0 / 0.9596 GB, free: 4.25 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.001075/0.8991, allocations: 0.6723 MB / 0.9603 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.8992, allocations: 8.25 kB / 0.9603 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.269e-05/0.8993, allocations: 53.03 kB / 0.9603 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.8997, allocations: 345.9 kB / 0.9607 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/0.8997, allocations: 29.88 kB / 0.9607 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.459e-05/0.8998, allocations: 38.5 kB / 0.9607 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/0.9005, allocations: 420.4 kB / 0.9611 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.9005, allocations: 1.062 kB / 0.9611 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.013e-05/0.9006, allocations: 24.3 kB / 0.9612 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.9006, allocations: 9.375 kB / 0.9612 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006508/0.9012, allocations: 303.1 kB / 0.9615 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.9033, allocations: 1.394 MB / 0.9628 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008395/0.9041, allocations: 278.5 kB / 0.9631 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.9044, allocations: 125 kB / 0.9632 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.9045, allocations: 2.062 kB / 0.9632 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.9045, allocations: 40.72 kB / 0.9633 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.843e-06/0.9045, allocations: 0 / 0.9633 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0007556/0.9053, allocations: 317.1 kB / 0.9636 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.9053, allocations: 116.7 kB / 0.9637 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004924/0.9058, allocations: 404 kB / 0.964 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.9059, allocations: 31.98 kB / 0.9641 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.906, allocations: 256.9 kB / 0.9643 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.9061, allocations: 63.95 kB / 0.9644 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.9061, allocations: 39.7 kB / 0.9644 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.9062, allocations: 347.5 kB / 0.9648 GB, free: 276 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.9065, allocations: 114.6 kB / 0.9649 GB, free: 220 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.9068, allocations: 214.3 kB / 0.9651 GB, free: 44 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005608/0.9073, allocations: 297.7 kB / 0.9654 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.9073, allocations: 0.9688 kB / 0.9654 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008068/0.9081, allocations: 383.2 kB / 0.9657 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.9083, allocations: 155.9 kB / 0.9659 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.9083, allocations: 2.156 kB / 0.9659 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.9083, allocations: 4.188 kB / 0.9659 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.9087, allocations: 77.88 kB / 0.9659 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.9087, allocations: 6.984 kB / 0.966 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.909, allocations: 64.45 kB / 0.966 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.909, allocations: 13.78 kB / 0.966 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.909, allocations: 3.719 kB / 0.966 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004864/0.9095, allocations: 257.4 kB / 0.9663 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.9096, allocations: 6.016 kB / 0.9663 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/0.9096, allocations: 4.125 kB / 0.9663 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.9098, allocations: 67.98 kB / 0.9664 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.9098, allocations: 7.969 kB / 0.9664 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/0.9102, allocations: 45.64 kB / 0.9664 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.9102, allocations: 13.34 kB / 0.9664 GB, free: 15.24 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002395/0.9105, allocations: 232.5 kB / 0.9666 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/0.9106, allocations: 36.75 kB / 0.9667 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006167/0.9112, allocations: 250.4 kB / 0.9669 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.9112, allocations: 6.594 kB / 0.9669 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.9112, allocations: 0 / 0.9669 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.9112, allocations: 8.719 kB / 0.9669 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.9128, allocations: 0.8079 MB / 0.9677 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.9128, allocations: 1 kB / 0.9677 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.9131, allocations: 44.66 kB / 0.9678 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.9131, allocations: 6.062 kB / 0.9678 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.9131, allocations: 11.27 kB / 0.9678 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.9131, allocations: 6.938 kB / 0.9678 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.9131, allocations: 1 kB / 0.9678 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008275/0.914, allocations: 491 kB / 0.9683 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.9141, allocations: 118.8 kB / 0.9684 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.191e-05/0.9142, allocations: 11.12 kB / 0.9684 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.9144, allocations: 19.55 kB / 0.9684 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.9144, allocations: 19.33 kB / 0.9684 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.9145, allocations: 6.438 kB / 0.9684 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004338/0.9149, allocations: 289 kB / 0.9687 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9149, allocations: 0 / 0.9687 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006405/0.9156, allocations: 135.3 kB / 0.9688 GB, free: 13.47 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 (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.0003132/0.9159, allocations: 118.4 kB / 0.9689 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.917, allocations: 403.1 kB / 0.9693 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.917, allocations: 1.031 kB / 0.9693 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.9173, allocations: 101.5 kB / 0.9694 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007435/0.918, allocations: 68.38 kB / 0.9695 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.9201, allocations: 0.835 MB / 0.9703 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008157/0.9209, allocations: 0.799 MB / 0.9711 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002363/0.9211, allocations: 46.88 kB / 0.9711 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.9213, allocations: 30.8 kB / 0.9712 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of SimCode: time 1.162e-06/0.9213, allocations: 1.219 kB / 0.9712 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.009527/0.9308, allocations: 3.265 MB / 0.9743 GB, free: 10.15 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