Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.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_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.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_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001904/0.001904, allocations: 191.2 kB / 16.25 MB, free: 6.621 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.497/1.497, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.784/2.784, allocations: 437 MB / 0.7101 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 71.89 kB / 0.8688 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7168/0.7188, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.004217/0.723, allocations: 1.885 MB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002342/0.7254, allocations: 1.228 MB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004317/0.7259, allocations: 11.94 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.7263, allocations: 55.5 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.7266, allocations: 35.72 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.7271, allocations: 143.9 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00059/0.7277, allocations: 485 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005144/0.7283, allocations: 275.4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.7285, allocations: 183.2 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.7287, allocations: 195 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.325e-05/0.7288, allocations: 52 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.24e-05/0.7288, allocations: 52 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.454e-05/0.7289, allocations: 107.6 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.7291, allocations: 218.8 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.7297, allocations: 0.5586 MB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.7297, allocations: 8 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.817e-06/0.7297, allocations: 3.984 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.7297, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 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.001313/0.7311, allocations: 0.7329 MB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.7311, allocations: 8.031 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.7312, allocations: 48.38 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.7317, allocations: 344.2 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.7318, allocations: 33.38 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.328e-05/0.7319, allocations: 40.38 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007347/0.7326, allocations: 411.6 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.7326, allocations: 192 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.7327, allocations: 19.94 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.7327, allocations: 8 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/0.7333, allocations: 279.8 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.7356, allocations: 1.39 MB / 1.025 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007766/0.7364, allocations: 250.8 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.7366, allocations: 114.9 kB / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.7367, allocations: 4 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.7367, allocations: 38.55 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.7367, allocations: 0 / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0007616/0.7375, allocations: 297 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.22e-05/0.7376, allocations: 110.8 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005105/0.7381, allocations: 401.6 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.7381, allocations: 37.62 kB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.7384, allocations: 247.7 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.369e-05/0.7385, allocations: 78.91 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.7386, allocations: 74.02 kB / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.7388, allocations: 346.8 kB / 1.027 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.7391, allocations: 110.1 kB / 1.027 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.7395, allocations: 200.4 kB / 1.028 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005456/0.74, allocations: 280.8 kB / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.74, allocations: 0 / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007794/0.7408, allocations: 366.4 kB / 1.028 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.7409, allocations: 10.34 kB / 1.028 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7409, allocations: 3.938 kB / 1.028 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.7409, allocations: 7.938 kB / 1.028 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.7412, allocations: 80.12 kB / 1.028 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.7412, allocations: 11.92 kB / 1.028 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.7415, allocations: 51.52 kB / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.7415, allocations: 12 kB / 1.028 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003048/0.7418, allocations: 200.8 kB / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002506/0.7421, allocations: 195.7 kB / 1.029 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003259/0.7424, allocations: 225.7 kB / 1.029 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.7424, allocations: 0 / 1.029 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005337/0.743, allocations: 315 kB / 1.029 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.743, allocations: 8.156 kB / 1.029 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.743, allocations: 11.98 kB / 1.029 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.019e-06/0.743, allocations: 4 kB / 1.029 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.7433, allocations: 63.86 kB / 1.029 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.557e-06/0.7433, allocations: 7.938 kB / 1.029 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.7436, allocations: 35.81 kB / 1.029 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.7436, allocations: 12 kB / 1.029 GB, free: 5.414 MB / 0.7794 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.000173/0.7438, allocations: 196.1 kB / 1.03 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.26e-05/0.7439, allocations: 39.53 kB / 1.03 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005209/0.7444, allocations: 237 kB / 1.03 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.7444, allocations: 4 kB / 1.03 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7444, allocations: 0 / 1.03 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.7444, allocations: 3.984 kB / 1.03 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.7457, allocations: 0.7987 MB / 1.031 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.7457, allocations: 0 / 1.031 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.7459, allocations: 39.97 kB / 1.031 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.892e-06/0.7459, allocations: 4.156 kB / 1.031 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.746, allocations: 15.94 kB / 1.031 GB, free: 4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.746, allocations: 0 / 1.031 GB, free: 4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.746, allocations: 4 kB / 1.031 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007157/0.7467, allocations: 457.7 kB / 1.031 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.882e-05/0.7468, allocations: 120.7 kB / 1.031 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.7469, allocations: 8 kB / 1.031 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.747, allocations: 11.98 kB / 1.031 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.7471, allocations: 23.92 kB / 1.031 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.7471, allocations: 11.98 kB / 1.031 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003113/0.7474, allocations: 279.2 kB / 1.032 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7474, allocations: 0 / 1.032 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005044/0.7479, allocations: 139.4 kB / 1.032 GB, free: 2.918 MB / 0.7794 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.000157/0.7481, allocations: 107.7 kB / 1.032 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008147/0.7489, allocations: 398.4 kB / 1.032 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.7489, allocations: 4 kB / 1.032 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.7491, allocations: 93.08 kB / 1.032 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005876/0.7497, allocations: 82.39 kB / 1.032 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.7511, allocations: 0.8194 MB / 1.033 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.7516, allocations: 0.8035 MB / 1.034 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001851/0.7518, allocations: 47.44 kB / 1.034 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.113e-05/0.7519, allocations: 27.44 kB / 1.034 GB, free: 488 kB / 0.7794 GB Notification: Performance of SimCode: time 6.52e-07/0.7519, allocations: 0 / 1.034 GB, free: 488 kB / 0.7794 GB Notification: Performance of Templates: time 0.008547/0.7605, allocations: 3.454 MB / 1.037 GB, free: 13.05 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches