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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005081/0.005081, allocations: 97.67 kB / 15.73 MB, free: 5.988 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.001135/0.001135, allocations: 192 kB / 16.67 MB, free: 5.918 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.593/2.593, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.89 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3062, allocations: 151.6 MB / 1.166 GB, free: 7.234 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003453/0.3097, allocations: 1.858 MB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.3116, allocations: 1.26 MB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003064/0.312, allocations: 4 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.3123, allocations: 79.19 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.3125, allocations: 59.39 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.313, allocations: 167.7 kB / 1.17 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005266/0.3135, allocations: 485 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004171/0.3139, allocations: 271.5 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.3141, allocations: 179.3 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.3144, allocations: 206.9 kB / 1.171 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.695e-05/0.3144, allocations: 52 kB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.289e-05/0.3145, allocations: 52 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.879e-05/0.3146, allocations: 99.69 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.3147, allocations: 218.7 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000544/0.3153, allocations: 0.5876 MB / 1.172 GB, free: 1.66 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3153, allocations: 0 / 1.172 GB, free: 1.66 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.324e-06/0.3153, allocations: 0 / 1.172 GB, free: 1.66 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.814e-05/0.3153, allocations: 0 / 1.172 GB, free: 1.66 MB / 0.92 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.001308/0.3167, allocations: 0.7519 MB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3167, allocations: 8.031 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.918e-05/0.3168, allocations: 82.7 kB / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.546e-05/0.3169, allocations: 52.61 kB / 1.173 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005457/0.3175, allocations: 348.5 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.3175, allocations: 33.38 kB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.3176, allocations: 40.38 kB / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000703/0.3183, allocations: 411.5 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.3183, allocations: 3.938 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.3183, allocations: 16 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.3184, allocations: 12 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005731/0.3189, allocations: 283.8 kB / 1.174 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.321, allocations: 1.374 MB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007244/0.3218, allocations: 248.5 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.322, allocations: 122.8 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.3221, allocations: 4 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.3221, allocations: 38.5 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.3221, allocations: 0 / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0007131/0.3228, allocations: 299.6 kB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.3229, allocations: 110.8 kB / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/0.3234, allocations: 409.6 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.3234, allocations: 25.7 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.3236, allocations: 252.2 kB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.302e-05/0.3237, allocations: 87.31 kB / 1.176 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.3238, allocations: 62.03 kB / 1.177 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.324, allocations: 346.8 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.3242, allocations: 118.1 kB / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/0.3246, allocations: 208.3 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.3253, allocations: 273.6 kB / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.3253, allocations: 0 / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007044/0.326, allocations: 369.2 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.326, allocations: 4 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.326, allocations: 7.938 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.326, allocations: 4 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.3263, allocations: 71.89 kB / 1.178 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.3263, allocations: 4 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.3266, allocations: 63.75 kB / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.3266, allocations: 16 kB / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002597/0.3269, allocations: 200.8 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002277/0.3271, allocations: 187.9 kB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003254/0.3275, allocations: 237.6 kB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/0.3275, allocations: 0 / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005036/0.328, allocations: 321.2 kB / 1.179 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.328, allocations: 4 kB / 1.179 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.328, allocations: 4 kB / 1.179 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.328, allocations: 7.938 kB / 1.179 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.3283, allocations: 63.91 kB / 1.179 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3283, allocations: 8.219 kB / 1.179 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.3285, allocations: 35.83 kB / 1.179 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.3285, allocations: 12 kB / 1.179 GB, free: 9.723 MB / 0.9356 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.0001376/0.3287, allocations: 196.2 kB / 1.179 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.3287, allocations: 35.77 kB / 1.179 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005109/0.3293, allocations: 250.9 kB / 1.179 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3293, allocations: 0 / 1.179 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.3293, allocations: 0 / 1.179 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3293, allocations: 0 / 1.179 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.3306, allocations: 0.7911 MB / 1.18 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3306, allocations: 4 kB / 1.18 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.3308, allocations: 43.91 kB / 1.18 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.3308, allocations: 0 / 1.18 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.3309, allocations: 8 kB / 1.18 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.3309, allocations: 7.938 kB / 1.18 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3309, allocations: 0 / 1.18 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007654/0.3316, allocations: 463.5 kB / 1.181 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.3318, allocations: 124.8 kB / 1.181 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.3318, allocations: 8 kB / 1.181 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.332, allocations: 19.97 kB / 1.181 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.3321, allocations: 20.05 kB / 1.181 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.3321, allocations: 8 kB / 1.181 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000386/0.3325, allocations: 291.2 kB / 1.181 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.815e-06/0.3325, allocations: 0 / 1.181 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005787/0.3331, allocations: 135.6 kB / 1.181 GB, free: 7.219 MB / 0.9356 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.001353/0.3345, allocations: 0.9945 MB / 1.182 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000875/0.3353, allocations: 395.5 kB / 1.183 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3354, allocations: 0 / 1.183 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.3356, allocations: 96.95 kB / 1.183 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.3362, allocations: 83.56 kB / 1.183 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005105/0.3413, allocations: 3.42 MB / 1.186 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.3417, allocations: 0.7996 MB / 1.187 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.3419, allocations: 39.27 kB / 1.187 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.3421, allocations: 135.4 kB / 1.187 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of SimCode: time 1.914e-06/0.3421, allocations: 4 kB / 1.187 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.3675, allocations: 6.845 MB / 1.194 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.399/9.767, allocations: 14.16 kB / 1.194 GB, free: 10.33 MB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.csv","/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