Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.000837/0.0008369, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00542/0.005421, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.307/1.307, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.121/2.121, allocations: 390.9 MB / 0.6664 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003782, allocations: 16.28 kB / 0.8161 GB, free: 13.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5321/0.5325, allocations: 142.4 MB / 0.9552 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.001472/0.534, allocations: 1.485 MB / 0.9566 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.5351, allocations: 1.233 MB / 0.9578 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.5352, allocations: 6.844 kB / 0.9578 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.5354, allocations: 56.73 kB / 0.9579 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.5355, allocations: 38.86 kB / 0.9579 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.5358, allocations: 138.8 kB / 0.9581 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.5361, allocations: 449.5 kB / 0.9585 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003151/0.5364, allocations: 260.4 kB / 0.9587 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.227e-05/0.5365, allocations: 117.7 kB / 0.9589 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.5366, allocations: 135.9 kB / 0.959 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.5367, allocations: 12.38 kB / 0.959 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.53e-05/0.5367, allocations: 11 kB / 0.959 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.131e-05/0.5367, allocations: 61.33 kB / 0.9591 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.089e-05/0.5368, allocations: 185.7 kB / 0.9592 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.5371, allocations: 0.5171 MB / 0.9598 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.5372, allocations: 0 / 0.9598 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5372, allocations: 0 / 0.9598 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.5372, allocations: 1.75 kB / 0.9598 GB, free: 4.16 MB / 0.7169 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.0008495/0.538, allocations: 0.6716 MB / 0.9604 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.5381, allocations: 13.75 kB / 0.9604 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.125e-05/0.5381, allocations: 83.42 kB / 0.9605 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.5382, allocations: 52.84 kB / 0.9606 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.5385, allocations: 346 kB / 0.9609 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.5385, allocations: 29.88 kB / 0.9609 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/0.5386, allocations: 42.5 kB / 0.961 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.5391, allocations: 416.8 kB / 0.9614 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.5392, allocations: 3.938 kB / 0.9614 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.5392, allocations: 16.12 kB / 0.9614 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.5392, allocations: 9.625 kB / 0.9614 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.5397, allocations: 300 kB / 0.9617 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.5413, allocations: 1.402 MB / 0.963 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000634/0.5419, allocations: 274 kB / 0.9633 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.5421, allocations: 128.4 kB / 0.9634 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.5422, allocations: 2.625 kB / 0.9634 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.5422, allocations: 40.55 kB / 0.9635 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.172e-06/0.5422, allocations: 0 / 0.9635 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0006047/0.5428, allocations: 321.6 kB / 0.9638 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.5428, allocations: 104.8 kB / 0.9639 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.5432, allocations: 400.8 kB / 0.9642 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.5432, allocations: 31.27 kB / 0.9643 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.5433, allocations: 252 kB / 0.9645 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.5433, allocations: 79.86 kB / 0.9646 GB, free: 484 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.5434, allocations: 36.3 kB / 0.9646 GB, free: 452 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.5434, allocations: 346.7 kB / 0.965 GB, free: 104 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.5437, allocations: 120.2 kB / 0.9651 GB, free: 44 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.544, allocations: 219.5 kB / 0.9653 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.5445, allocations: 283.9 kB / 0.9656 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5445, allocations: 0 / 0.9656 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006543/0.5451, allocations: 389.8 kB / 0.9659 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.949e-05/0.5452, allocations: 156.1 kB / 0.9661 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5452, allocations: 2.469 kB / 0.9661 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.5452, allocations: 3.375 kB / 0.9661 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.5455, allocations: 77.33 kB / 0.9662 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.5455, allocations: 8.125 kB / 0.9662 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.5458, allocations: 67.69 kB / 0.9662 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.5458, allocations: 13.88 kB / 0.9662 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.53e-06/0.5458, allocations: 3.188 kB / 0.9662 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004047/0.5462, allocations: 256 kB / 0.9665 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.5462, allocations: 2.125 kB / 0.9665 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/0.5463, allocations: 4.031 kB / 0.9665 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.5465, allocations: 64.22 kB / 0.9666 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.5465, allocations: 10.97 kB / 0.9666 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.5467, allocations: 46.39 kB / 0.9666 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.5467, allocations: 13.31 kB / 0.9666 GB, free: 15.07 MB / 0.7325 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.0001579/0.5468, allocations: 229.2 kB / 0.9668 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/0.5469, allocations: 38.91 kB / 0.9669 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004718/0.5474, allocations: 253.5 kB / 0.9671 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.5474, allocations: 6.938 kB / 0.9671 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5474, allocations: 0 / 0.9671 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5474, allocations: 4 kB / 0.9671 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.5485, allocations: 0.8111 MB / 0.9679 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5485, allocations: 1.875 kB / 0.9679 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.5487, allocations: 47.22 kB / 0.968 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.5487, allocations: 3.344 kB / 0.968 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.5488, allocations: 11.12 kB / 0.968 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.5488, allocations: 5.75 kB / 0.968 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.5488, allocations: 5.984 kB / 0.968 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006668/0.5494, allocations: 479.9 kB / 0.9685 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.5495, allocations: 116.2 kB / 0.9686 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.5496, allocations: 10.3 kB / 0.9686 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.5498, allocations: 24.61 kB / 0.9686 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.5498, allocations: 22.19 kB / 0.9686 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.5498, allocations: 6.312 kB / 0.9686 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002729/0.5501, allocations: 293.3 kB / 0.9689 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.473e-06/0.5501, allocations: 0.6875 kB / 0.9689 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004443/0.5506, allocations: 130.7 kB / 0.969 GB, free: 13.3 MB / 0.7325 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.0009058/0.5515, allocations: 1.025 MB / 0.97 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006987/0.5522, allocations: 409.5 kB / 0.9704 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5522, allocations: 0 / 0.9704 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.5524, allocations: 100.9 kB / 0.9705 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.5529, allocations: 78.3 kB / 0.9706 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/0.5572, allocations: 3.645 MB / 0.9741 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.5575, allocations: 0.7987 MB / 0.9749 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001489/0.5577, allocations: 43.08 kB / 0.975 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.5579, allocations: 138.7 kB / 0.9751 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of SimCode: time 3.9e-07/0.5579, allocations: 1.188 kB / 0.9751 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.284/1.841, allocations: 6.349 MB / 0.9813 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/1.842, allocations: 215.4 kB / 0.9815 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/3.898, allocations: 4.938 kB / 0.9815 GB, free: 3.879 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches