Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 102.2 kB / 16.35 MB, free: 5.875 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: 194.3 kB / 17.3 MB, free: 5.516 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.427/2.427, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 69.25 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3138, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003118/0.3169, allocations: 1.845 MB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.3185, allocations: 1.263 MB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.3187, allocations: 8 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.3189, allocations: 71.2 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.3191, allocations: 55.45 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.3194, allocations: 175.7 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004127/0.3199, allocations: 493 kB / 1.023 GB, free: 5.906 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.3202, allocations: 250.3 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.3204, allocations: 179.3 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.3206, allocations: 195 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.976e-05/0.3206, allocations: 52 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.351e-05/0.3207, allocations: 52 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.647e-05/0.3208, allocations: 103.7 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.3209, allocations: 206.8 kB / 1.024 GB, free: 4.883 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.3214, allocations: 0.5604 MB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3214, allocations: 0 / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3214, allocations: 0 / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.3214, allocations: 0 / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001098/0.3225, allocations: 0.7251 MB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.3225, allocations: 12.92 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.567e-05/0.3226, allocations: 44.38 kB / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.3231, allocations: 344.3 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.3231, allocations: 29.38 kB / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.3232, allocations: 40.38 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/0.3238, allocations: 391.6 kB / 1.026 GB, free: 2.645 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3238, allocations: 4.125 kB / 1.026 GB, free: 2.641 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.3238, allocations: 23.94 kB / 1.026 GB, free: 2.617 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.3238, allocations: 8 kB / 1.026 GB, free: 2.609 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005032/0.3243, allocations: 267.9 kB / 1.026 GB, free: 2.348 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.3262, allocations: 1.35 MB / 1.027 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007324/0.327, allocations: 252.6 kB / 1.028 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.3272, allocations: 132.8 kB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.3272, allocations: 7.984 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3273, allocations: 34.56 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.3273, allocations: 0 / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of matching and sorting (n=21): time 0.0006392/0.3279, allocations: 306.9 kB / 1.028 GB, free: 196 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.328, allocations: 114.8 kB / 1.028 GB, free: 56 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004146/0.3284, allocations: 397.6 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.3285, allocations: 33.7 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.3286, allocations: 227.9 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.3287, allocations: 78.91 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3288, allocations: 65.69 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3289, allocations: 342.8 kB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.3292, allocations: 124.8 kB / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.3295, allocations: 202.7 kB / 1.029 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.33, allocations: 261.8 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.33, allocations: 4 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006781/0.3307, allocations: 364.9 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3307, allocations: 11.94 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3307, allocations: 160 / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.3308, allocations: 11.98 kB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.3311, allocations: 75.84 kB / 1.03 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3311, allocations: 0 / 1.03 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.3313, allocations: 59.5 kB / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.3313, allocations: 12 kB / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002772/0.3316, allocations: 213.1 kB / 1.03 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002326/0.3319, allocations: 173.8 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003131/0.3322, allocations: 235.2 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.794e-06/0.3322, allocations: 0 / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0004978/0.3327, allocations: 319.2 kB / 1.031 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.3327, allocations: 8 kB / 1.031 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3327, allocations: 3.938 kB / 1.031 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/0.3327, allocations: 8.156 kB / 1.031 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.333, allocations: 63.91 kB / 1.031 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.333, allocations: 4 kB / 1.031 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.3332, allocations: 31.83 kB / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.3332, allocations: 15.98 kB / 1.031 GB, free: 12.63 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001264/0.3333, allocations: 196.1 kB / 1.031 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.3334, allocations: 39.47 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004879/0.3339, allocations: 249 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3339, allocations: 4 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3339, allocations: 0 / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3339, allocations: 3.938 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.3353, allocations: 0.8442 MB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3353, allocations: 8.25 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.3355, allocations: 47.91 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3355, allocations: 4 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.3355, allocations: 8 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3355, allocations: 4 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3355, allocations: 4 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008407/0.3364, allocations: 0.4924 MB / 1.033 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.108e-05/0.3365, allocations: 120.7 kB / 1.033 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.3365, allocations: 12 kB / 1.033 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.3367, allocations: 15.98 kB / 1.033 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.3368, allocations: 19.92 kB / 1.033 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.3368, allocations: 8 kB / 1.033 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002963/0.3371, allocations: 287.2 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.408e-06/0.3371, allocations: 0 / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004802/0.3376, allocations: 135.4 kB / 1.034 GB, free: 9.992 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * 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 (21): * Single equations (assignments): 21 * 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.0001822/0.3378, allocations: 107.2 kB / 1.034 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007856/0.3386, allocations: 400 kB / 1.034 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3386, allocations: 4 kB / 1.034 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.3388, allocations: 99.83 kB / 1.034 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005183/0.3393, allocations: 83.66 kB / 1.034 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.3406, allocations: 0.678 MB / 1.035 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.3409, allocations: 0.7957 MB / 1.036 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.3411, allocations: 42.95 kB / 1.036 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/0.3412, allocations: 31.44 kB / 1.036 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.3412, allocations: 0 / 1.036 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of Templates: time 0.007609/0.3488, allocations: 3.628 MB / 1.039 GB, free: 4.098 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches