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.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.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.001679/0.001679, allocations: 102.2 kB / 16.36 MB, free: 6.469 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.001467/0.001467, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.18 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.447/2.447, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 76.58 kB / 0.8707 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3086, allocations: 151.6 MB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003063/0.3117, allocations: 1.849 MB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.3132, allocations: 1.26 MB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.3134, allocations: 8 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.3136, allocations: 75.19 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.3138, allocations: 59.45 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.3141, allocations: 172.2 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.3145, allocations: 485 kB / 1.023 GB, free: 5.902 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003783/0.3149, allocations: 275.4 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.3151, allocations: 179.3 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.3153, allocations: 191 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.235e-05/0.3153, allocations: 56 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.081e-05/0.3154, allocations: 52 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.841e-05/0.3155, allocations: 115.6 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.3156, allocations: 210.8 kB / 1.024 GB, free: 4.84 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.3161, allocations: 0.5838 MB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3161, allocations: 0 / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3161, allocations: 0 / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.3161, allocations: 4 kB / 1.024 GB, free: 4.25 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001135/0.3173, allocations: 0.7329 MB / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3173, allocations: 12.03 kB / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.23e-05/0.3174, allocations: 52.31 kB / 1.025 GB, free: 3.402 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.3179, allocations: 344.3 kB / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.3179, allocations: 33.38 kB / 1.025 GB, free: 2.996 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.223e-05/0.318, allocations: 44.31 kB / 1.025 GB, free: 2.953 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006196/0.3186, allocations: 411.5 kB / 1.026 GB, free: 2.531 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3186, allocations: 4.172 kB / 1.026 GB, free: 2.527 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.3186, allocations: 19.94 kB / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.3187, allocations: 8 kB / 1.026 GB, free: 2.5 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.3192, allocations: 283.8 kB / 1.026 GB, free: 2.227 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.321, allocations: 1.37 MB / 1.027 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000644/0.3216, allocations: 245.3 kB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.3219, allocations: 116.8 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.3219, allocations: 0 / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.3219, allocations: 38.56 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of pre-optimization done (n=20): time 1.082e-06/0.3219, allocations: 3.938 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of matching and sorting (n=20): time 0.000606/0.3225, allocations: 300.9 kB / 1.028 GB, free: 76 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.3226, allocations: 106.8 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003972/0.323, allocations: 409.5 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.3231, allocations: 29.7 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.3232, allocations: 251.7 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.3233, allocations: 75 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.87e-05/0.3234, allocations: 65.94 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3235, allocations: 346.8 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.3237, allocations: 114.1 kB / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.324, allocations: 204.4 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.3245, allocations: 277.5 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3245, allocations: 4 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006236/0.3251, allocations: 362.7 kB / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3252, allocations: 8 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3252, allocations: 3.938 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3252, allocations: 7.938 kB / 1.03 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.3255, allocations: 76.11 kB / 1.03 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.3255, allocations: 4 kB / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.3257, allocations: 59.5 kB / 1.03 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.3257, allocations: 12 kB / 1.03 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002408/0.326, allocations: 199.2 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002085/0.3262, allocations: 188 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002886/0.3265, allocations: 241.1 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.025e-06/0.3265, allocations: 4 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004563/0.327, allocations: 308.9 kB / 1.031 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/0.327, allocations: 12.22 kB / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.327, allocations: 4 kB / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-06/0.327, allocations: 3.938 kB / 1.031 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.3272, allocations: 67.84 kB / 1.031 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.3272, allocations: 4 kB / 1.031 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.3274, allocations: 35.73 kB / 1.031 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.3275, allocations: 16 kB / 1.031 GB, free: 12.44 MB / 0.8106 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.0001082/0.3276, allocations: 196.1 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.3276, allocations: 39.62 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000458/0.3281, allocations: 246.6 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.3281, allocations: 4 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3281, allocations: 3.938 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.3281, allocations: 0 / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.3292, allocations: 0.793 MB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3292, allocations: 0 / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.3294, allocations: 43.91 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3294, allocations: 12.09 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.3295, allocations: 4 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3295, allocations: 4 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3295, allocations: 0 / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006231/0.3301, allocations: 463.2 kB / 1.033 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.675e-05/0.3302, allocations: 120.7 kB / 1.033 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/0.3303, allocations: 11.98 kB / 1.033 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.3304, allocations: 11.98 kB / 1.033 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.3305, allocations: 23.92 kB / 1.033 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.3305, allocations: 4 kB / 1.033 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002736/0.3308, allocations: 287.2 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3308, allocations: 0 / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004449/0.3312, allocations: 135.4 kB / 1.034 GB, free: 9.938 MB / 0.8106 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.00014/0.3314, allocations: 107.2 kB / 1.034 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007212/0.3321, allocations: 397.8 kB / 1.034 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3321, allocations: 0 / 1.034 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.3323, allocations: 97.08 kB / 1.034 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.3328, allocations: 76.41 kB / 1.034 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.3339, allocations: 0.6553 MB / 1.035 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.3343, allocations: 0.8074 MB / 1.036 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001425/0.3344, allocations: 39.25 kB / 1.036 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.834e-05/0.3345, allocations: 35.42 kB / 1.036 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.3345, allocations: 0 / 1.036 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of Templates: time 0.00683/0.3414, allocations: 3.476 MB / 1.039 GB, free: 4.219 MB / 0.8106 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=480 -s gbode -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/jenkins1/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