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.09934/0.09934, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.03196/0.03196, allocations: 194.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 4.066/4.066, allocations: 222.9 MB / 240.4 MB, free: 4.301 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 4.273/4.273, allocations: 437.1 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002654, allocations: 63.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4795/0.4822, allocations: 151.6 MB / 1.166 GB, free: 7.371 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.004533/0.4868, allocations: 1.85 MB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002862/0.4897, allocations: 1.267 MB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002877/0.49, allocations: 11.94 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.4904, allocations: 75.2 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.4906, allocations: 51.47 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.4913, allocations: 167.8 kB / 1.17 GB, free: 3.934 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006992/0.492, allocations: 492.9 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006433/0.4926, allocations: 267.5 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.4929, allocations: 175.3 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000321/0.4932, allocations: 206.9 kB / 1.171 GB, free: 2.809 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.4933, allocations: 56 kB / 1.171 GB, free: 2.754 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.557e-05/0.4934, allocations: 52 kB / 1.171 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.4936, allocations: 107.6 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002669/0.4939, allocations: 210.8 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008612/0.4947, allocations: 0.5875 MB / 1.172 GB, free: 1.801 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4948, allocations: 0 / 1.172 GB, free: 1.801 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4948, allocations: 4 kB / 1.172 GB, free: 1.797 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.4948, allocations: 0 / 1.172 GB, free: 1.797 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.001911/0.4967, allocations: 0.7442 MB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 8.406e-05/0.4968, allocations: 12.03 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.497, allocations: 82.7 kB / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.4971, allocations: 56.61 kB / 1.173 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000847/0.498, allocations: 352.4 kB / 1.173 GB, free: 468 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.908e-05/0.4981, allocations: 29.38 kB / 1.173 GB, free: 440 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.025e-05/0.4982, allocations: 40.38 kB / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.4992, allocations: 407.6 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.4993, allocations: 7.938 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.426e-05/0.4994, allocations: 16 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/0.4994, allocations: 12 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000901/0.5003, allocations: 283.8 kB / 1.174 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003268/0.5036, allocations: 1.374 MB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.5047, allocations: 248.9 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.5051, allocations: 120.8 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.5051, allocations: 7.938 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.5052, allocations: 34.56 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 2.505e-06/0.5052, allocations: 0 / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.001068/0.5063, allocations: 293.2 kB / 1.176 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.5064, allocations: 118.8 kB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000691/0.5071, allocations: 401.6 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.5072, allocations: 33.7 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.5075, allocations: 252.2 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.5076, allocations: 79.31 kB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.5078, allocations: 66.03 kB / 1.177 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002485/0.508, allocations: 346.8 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.5084, allocations: 118.1 kB / 1.177 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/0.5089, allocations: 204.4 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007069/0.5096, allocations: 277.7 kB / 1.177 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.5096, allocations: 4 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00101/0.5107, allocations: 367.2 kB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.5107, allocations: 8 kB / 1.178 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.5107, allocations: 3.938 kB / 1.178 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.5108, allocations: 4 kB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.5112, allocations: 75.89 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.5112, allocations: 7.938 kB / 1.178 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/0.5116, allocations: 59.59 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.5116, allocations: 16 kB / 1.178 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004155/0.512, allocations: 204.8 kB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003505/0.5124, allocations: 180 kB / 1.178 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000483/0.5129, allocations: 234.2 kB / 1.179 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.175e-06/0.5129, allocations: 4 kB / 1.179 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007461/0.5137, allocations: 321.1 kB / 1.179 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.5137, allocations: 4 kB / 1.179 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5137, allocations: 4 kB / 1.179 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.5137, allocations: 7.938 kB / 1.179 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/0.5141, allocations: 59.91 kB / 1.179 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.5141, allocations: 7.938 kB / 1.179 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.5144, allocations: 44.05 kB / 1.179 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.5144, allocations: 8 kB / 1.179 GB, free: 9.859 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.0001895/0.5146, allocations: 200.1 kB / 1.179 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/0.5147, allocations: 43.75 kB / 1.179 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000737/0.5155, allocations: 233 kB / 1.179 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5155, allocations: 8 kB / 1.179 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5155, allocations: 0 / 1.179 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5155, allocations: 0 / 1.179 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.5174, allocations: 0.791 MB / 1.18 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.5174, allocations: 0 / 1.18 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.5177, allocations: 43.91 kB / 1.18 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.5177, allocations: 4 kB / 1.18 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.5178, allocations: 8 kB / 1.18 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.5178, allocations: 0 / 1.18 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.5178, allocations: 4 kB / 1.18 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.5189, allocations: 465.4 kB / 1.181 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.5191, allocations: 124.8 kB / 1.181 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.543e-05/0.5191, allocations: 11.98 kB / 1.181 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.5194, allocations: 15.98 kB / 1.181 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.5195, allocations: 15.92 kB / 1.181 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.5195, allocations: 12 kB / 1.181 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004728/0.52, allocations: 287.2 kB / 1.181 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.41e-07/0.52, allocations: 4 kB / 1.181 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008525/0.5209, allocations: 127.7 kB / 1.181 GB, free: 7.363 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.00165/0.5226, allocations: 0.9935 MB / 1.182 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.5238, allocations: 398 kB / 1.183 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5239, allocations: 0 / 1.183 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.5241, allocations: 98.64 kB / 1.183 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008146/0.525, allocations: 78.33 kB / 1.183 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007263/0.5323, allocations: 3.42 MB / 1.186 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.5329, allocations: 0.7957 MB / 1.187 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002719/0.5332, allocations: 47.25 kB / 1.187 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.5335, allocations: 135.4 kB / 1.187 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of SimCode: time 1.052e-06/0.5335, allocations: 0 / 1.187 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04308/0.5766, allocations: 6.855 MB / 1.194 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.13, allocations: 15.83 kB / 1.194 GB, free: 10.46 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