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.001676/0.001676, allocations: 103.8 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.001986/0.001986, allocations: 194.4 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.349/1.349, 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.486/2.486, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 72.95 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2782, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.002866/0.2811, allocations: 1.852 MB / 1.021 GB, free: 8.008 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.2826, allocations: 1.263 MB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.2828, allocations: 4 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.2831, allocations: 75.2 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.2832, allocations: 51.47 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.2836, allocations: 171.7 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004197/0.284, allocations: 497 kB / 1.023 GB, free: 5.949 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003729/0.2844, allocations: 258.3 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.2846, allocations: 175.3 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.2848, allocations: 194.9 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.642e-05/0.2848, allocations: 52 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.103e-05/0.2849, allocations: 52 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.199e-05/0.285, allocations: 107.6 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.2851, allocations: 206.9 kB / 1.024 GB, free: 4.918 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00044/0.2856, allocations: 0.5565 MB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2856, allocations: 4 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.654e-06/0.2856, allocations: 0 / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.2856, allocations: 0 / 1.024 GB, free: 4.355 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.001122/0.2867, allocations: 0.7251 MB / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2868, allocations: 8.922 kB / 1.025 GB, free: 3.57 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.012e-05/0.2869, allocations: 48.38 kB / 1.025 GB, free: 3.523 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.2873, allocations: 340.3 kB / 1.025 GB, free: 3.152 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.2873, allocations: 29.38 kB / 1.025 GB, free: 3.121 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.529e-05/0.2874, allocations: 36.38 kB / 1.025 GB, free: 3.086 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006086/0.288, allocations: 399.5 kB / 1.026 GB, free: 2.68 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.288, allocations: 192 / 1.026 GB, free: 2.68 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.2881, allocations: 19.94 kB / 1.026 GB, free: 2.66 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.2881, allocations: 8 kB / 1.026 GB, free: 2.652 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000525/0.2886, allocations: 267.9 kB / 1.026 GB, free: 2.391 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.2906, allocations: 1.358 MB / 1.027 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007694/0.2913, allocations: 255.3 kB / 1.028 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.2916, allocations: 122.2 kB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.2916, allocations: 7.938 kB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.2916, allocations: 34.56 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of pre-optimization done (n=21): time 1.392e-06/0.2916, allocations: 0 / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of matching and sorting (n=21): time 0.0006386/0.2923, allocations: 306.5 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.2924, allocations: 106.8 kB / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/0.2928, allocations: 401.6 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.2929, allocations: 33.7 kB / 1.028 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.293, allocations: 231.9 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.2931, allocations: 78.89 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.2932, allocations: 69.69 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2933, allocations: 342.8 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.2936, allocations: 116.8 kB / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.2939, allocations: 214.6 kB / 1.029 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/0.2944, allocations: 256.6 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.2944, allocations: 4 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006889/0.2951, allocations: 372 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.2952, allocations: 11.94 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2952, allocations: 0 / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.2952, allocations: 7.938 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.2955, allocations: 75.89 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2955, allocations: 0 / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.2958, allocations: 59.56 kB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.2958, allocations: 12 kB / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002734/0.2961, allocations: 208.1 kB / 1.03 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002238/0.2963, allocations: 177.7 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003105/0.2966, allocations: 225.6 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.976e-06/0.2966, allocations: 3.984 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005252/0.2972, allocations: 327 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.2972, allocations: 4 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.2972, allocations: 7.938 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.538e-06/0.2972, allocations: 4 kB / 1.031 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.2975, allocations: 63.91 kB / 1.031 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.2975, allocations: 7.938 kB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.2977, allocations: 31.83 kB / 1.031 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2977, allocations: 12 kB / 1.031 GB, free: 12.67 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.0001208/0.2978, allocations: 200.3 kB / 1.031 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.2979, allocations: 39.47 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004918/0.2984, allocations: 241 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.2984, allocations: 4 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2984, allocations: 0 / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2984, allocations: 7.984 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.2998, allocations: 0.8442 MB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.2998, allocations: 11.92 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.3, allocations: 43.91 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3, allocations: 4 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.3, allocations: 8 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3001, allocations: 4 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3001, allocations: 4 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007024/0.3008, allocations: 496.4 kB / 1.033 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.331e-05/0.3009, allocations: 116.7 kB / 1.033 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.3009, allocations: 8 kB / 1.033 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.3011, allocations: 19.97 kB / 1.033 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.3012, allocations: 23.92 kB / 1.033 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.3012, allocations: 8 kB / 1.033 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002722/0.3015, allocations: 295.1 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3015, allocations: 0 / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004597/0.3019, allocations: 127.5 kB / 1.034 GB, free: 10.04 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.000142/0.3021, allocations: 111.2 kB / 1.034 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007777/0.3029, allocations: 399.5 kB / 1.034 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3029, allocations: 0 / 1.034 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.3031, allocations: 105.8 kB / 1.034 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.3036, allocations: 82.42 kB / 1.034 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.3049, allocations: 0.6889 MB / 1.035 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.3052, allocations: 0.7918 MB / 1.036 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001514/0.3054, allocations: 47.12 kB / 1.036 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.493e-05/0.3055, allocations: 31.42 kB / 1.036 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/0.3055, allocations: 0 / 1.036 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of Templates: time 0.007134/0.3126, allocations: 3.616 MB / 1.039 GB, free: 4.141 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 cvode -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