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.006973/0.006973, allocations: 101 kB / 15.87 MB, free: 5.867 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.001515/0.001515, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.551 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.412/2.412, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 67.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6103/0.612, allocations: 140.3 MB / 0.9496 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.002598/0.6147, allocations: 1.879 MB / 0.9514 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.616, allocations: 1.241 MB / 0.9526 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.6162, allocations: 7.594 kB / 0.9527 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.6164, allocations: 56.52 kB / 0.9527 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.6165, allocations: 31.47 kB / 0.9527 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.6168, allocations: 144.5 kB / 0.9529 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.6171, allocations: 454.2 kB / 0.9533 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003531/0.6175, allocations: 261.8 kB / 0.9536 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.6176, allocations: 148 kB / 0.9537 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.6178, allocations: 183.7 kB / 0.9539 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.17e-05/0.6178, allocations: 25.62 kB / 0.9539 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.374e-05/0.6179, allocations: 25.38 kB / 0.9539 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.393e-05/0.6179, allocations: 84.53 kB / 0.954 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.618, allocations: 180 kB / 0.9542 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.6183, allocations: 462.3 kB / 0.9546 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6183, allocations: 1.031 kB / 0.9546 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.11e-07/0.6183, allocations: 0 / 0.9546 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.6183, allocations: 0 / 0.9546 GB, free: 5.109 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.001/0.6193, allocations: 0.7319 MB / 0.9553 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.6194, allocations: 9.719 kB / 0.9553 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.843e-05/0.6195, allocations: 53.77 kB / 0.9554 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.6198, allocations: 345 kB / 0.9557 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.6198, allocations: 34.31 kB / 0.9558 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.6199, allocations: 42.34 kB / 0.9558 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00059/0.6205, allocations: 409 kB / 0.9562 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.6205, allocations: 4.125 kB / 0.9562 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.6205, allocations: 23.73 kB / 0.9562 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.6205, allocations: 13.73 kB / 0.9562 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.621, allocations: 281.7 kB / 0.9565 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.6227, allocations: 1.372 MB / 0.9578 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006368/0.6233, allocations: 256.1 kB / 0.9581 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.6235, allocations: 112.5 kB / 0.9582 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.6236, allocations: 2.469 kB / 0.9582 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.6236, allocations: 40 kB / 0.9582 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.744e-06/0.6236, allocations: 5.531 kB / 0.9582 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0005997/0.6242, allocations: 293.8 kB / 0.9585 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.6243, allocations: 109.5 kB / 0.9586 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.6246, allocations: 400.3 kB / 0.959 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.6247, allocations: 30.86 kB / 0.959 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.6248, allocations: 256.7 kB / 0.9593 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.6248, allocations: 76 kB / 0.9593 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-05/0.6249, allocations: 67.23 kB / 0.9594 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.229e-05/0.625, allocations: 343 kB / 0.9597 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.6252, allocations: 114.9 kB / 0.9598 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.6255, allocations: 210.6 kB / 0.96 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.626, allocations: 282.2 kB / 0.9603 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.626, allocations: 4 kB / 0.9603 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006344/0.6266, allocations: 365.8 kB / 0.9607 GB, free: 468 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.6267, allocations: 5.188 kB / 0.9607 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.6267, allocations: 6.266 kB / 0.9607 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.6267, allocations: 12.62 kB / 0.9607 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.627, allocations: 69.56 kB / 0.9608 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.627, allocations: 3.281 kB / 0.9608 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.6272, allocations: 56.31 kB / 0.9608 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.6272, allocations: 13.88 kB / 0.9608 GB, free: 400 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002284/0.6275, allocations: 197.4 kB / 0.961 GB, free: 256 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001795/0.6277, allocations: 187.5 kB / 0.9612 GB, free: 84 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003139/0.628, allocations: 235.4 kB / 0.9614 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.628, allocations: 1.312 kB / 0.9614 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004969/0.6285, allocations: 317.9 kB / 0.9617 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.6285, allocations: 9.344 kB / 0.9617 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.6285, allocations: 2.469 kB / 0.9617 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.809e-06/0.6285, allocations: 3.938 kB / 0.9617 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.6288, allocations: 68.44 kB / 0.9618 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.6288, allocations: 3.969 kB / 0.9618 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.629, allocations: 30.83 kB / 0.9618 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.629, allocations: 12.97 kB / 0.9618 GB, free: 15.7 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.0001316/0.6291, allocations: 206.5 kB / 0.962 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.6292, allocations: 36.62 kB / 0.9621 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004924/0.6297, allocations: 238.2 kB / 0.9623 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6297, allocations: 2.062 kB / 0.9623 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.6297, allocations: 0 / 0.9623 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.6297, allocations: 9.219 kB / 0.9623 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.6309, allocations: 0.7899 MB / 0.9631 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.6309, allocations: 1.094 kB / 0.9631 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.6311, allocations: 52.78 kB / 0.9631 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.6311, allocations: 2.281 kB / 0.9631 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.6312, allocations: 10.95 kB / 0.9631 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.6312, allocations: 2.281 kB / 0.9632 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6312, allocations: 5.25 kB / 0.9632 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006734/0.6319, allocations: 453.9 kB / 0.9636 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.216e-05/0.632, allocations: 124 kB / 0.9637 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.632, allocations: 6.281 kB / 0.9637 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.6322, allocations: 18.48 kB / 0.9637 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.6322, allocations: 23.17 kB / 0.9638 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.6322, allocations: 14.64 kB / 0.9638 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002947/0.6325, allocations: 280.8 kB / 0.964 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6326, allocations: 0 / 0.964 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004807/0.633, allocations: 127.6 kB / 0.9642 GB, free: 13.95 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.0001445/0.6332, allocations: 113.2 kB / 0.9643 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007693/0.634, allocations: 386.2 kB / 0.9646 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.634, allocations: 1.938 kB / 0.9646 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.6342, allocations: 99.28 kB / 0.9647 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005679/0.6347, allocations: 73.72 kB / 0.9648 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.6361, allocations: 0.8462 MB / 0.9656 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.6364, allocations: 0.7979 MB / 0.9664 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.6366, allocations: 34.33 kB / 0.9664 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of SimCode: time 3.7e-07/0.6366, allocations: 3.938 kB / 0.9664 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of Templates: time 0.006937/0.6435, allocations: 4.318 MB / 0.9707 GB, free: 9.941 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/jenkins1/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