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.001097/0.001097, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.481/2.481, allocations: 437 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001333, allocations: 63.89 kB / 0.8694 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6141/0.6155, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003528/0.619, allocations: 1.84 MB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002236/0.6213, allocations: 1.267 MB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003619/0.6217, allocations: 8 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.6221, allocations: 71.2 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.6223, allocations: 55.47 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.6228, allocations: 171.7 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005549/0.6234, allocations: 485 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004925/0.6239, allocations: 275.4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.6241, allocations: 183.2 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.6244, allocations: 191 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.938e-05/0.6245, allocations: 52 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.483e-05/0.6246, allocations: 56 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.644e-05/0.6247, allocations: 119.6 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.6248, allocations: 206.8 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005058/0.6253, allocations: 0.5629 MB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.6253, allocations: 3.938 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6254, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.6254, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.7794 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.001391/0.6268, allocations: 0.7329 MB / 1.024 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.6268, allocations: 8.031 kB / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.405e-05/0.6269, allocations: 74.72 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.627, allocations: 52.38 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.6275, allocations: 356.2 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.6276, allocations: 33.38 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.6276, allocations: 40.38 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000672/0.6283, allocations: 403.6 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.6283, allocations: 3.938 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.6284, allocations: 20 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.6284, allocations: 15.94 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005599/0.629, allocations: 287.8 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.631, allocations: 1.37 MB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007041/0.6317, allocations: 242.9 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.6319, allocations: 120.8 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.632, allocations: 4 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.632, allocations: 38.56 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.632, allocations: 0 / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0006775/0.6327, allocations: 298.8 kB / 1.027 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.6328, allocations: 106.8 kB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000406/0.6332, allocations: 409.6 kB / 1.027 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.6332, allocations: 25.7 kB / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.6334, allocations: 259.7 kB / 1.028 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.6334, allocations: 74.84 kB / 1.028 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.474e-05/0.6335, allocations: 62.03 kB / 1.028 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.6336, allocations: 346.8 kB / 1.028 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/0.6339, allocations: 122.1 kB / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.6342, allocations: 212.3 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004636/0.6347, allocations: 264.9 kB / 1.029 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6347, allocations: 0 / 1.029 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006662/0.6354, allocations: 374.8 kB / 1.029 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.6354, allocations: 4 kB / 1.029 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.6354, allocations: 7.938 kB / 1.029 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.6354, allocations: 4 kB / 1.029 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.6357, allocations: 79.77 kB / 1.029 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.6357, allocations: 4 kB / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.636, allocations: 55.5 kB / 1.029 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.636, allocations: 16 kB / 1.029 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002676/0.6363, allocations: 200.8 kB / 1.029 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002243/0.6365, allocations: 183.7 kB / 1.029 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000311/0.6369, allocations: 229.6 kB / 1.03 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.384e-06/0.6369, allocations: 0 / 1.03 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005107/0.6374, allocations: 316.9 kB / 1.03 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.6374, allocations: 8 kB / 1.03 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6374, allocations: 0 / 1.03 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.6374, allocations: 11.97 kB / 1.03 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.6377, allocations: 67.84 kB / 1.03 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.6377, allocations: 4 kB / 1.03 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.6379, allocations: 43.97 kB / 1.03 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.638, allocations: 12 kB / 1.03 GB, free: 5.016 MB / 0.7794 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.000154/0.6381, allocations: 197.3 kB / 1.03 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/0.6382, allocations: 39.52 kB / 1.03 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005223/0.6387, allocations: 242.5 kB / 1.031 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.6387, allocations: 4 kB / 1.031 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.6388, allocations: 7.938 kB / 1.031 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.6388, allocations: 0 / 1.031 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.64, allocations: 0.791 MB / 1.031 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.6401, allocations: 4 kB / 1.031 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.6403, allocations: 43.91 kB / 1.031 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.6403, allocations: 0 / 1.031 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.6403, allocations: 8 kB / 1.031 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.6403, allocations: 4 kB / 1.031 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6403, allocations: 0 / 1.031 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000708/0.641, allocations: 466 kB / 1.032 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.6411, allocations: 116.7 kB / 1.032 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.934e-05/0.6412, allocations: 15.98 kB / 1.032 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.6414, allocations: 15.98 kB / 1.032 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.6414, allocations: 19.92 kB / 1.032 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.6415, allocations: 4 kB / 1.032 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000305/0.6418, allocations: 287.2 kB / 1.032 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6418, allocations: 0 / 1.032 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005053/0.6423, allocations: 139.4 kB / 1.032 GB, free: 2.516 MB / 0.7794 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.0009519/0.6432, allocations: 0.9893 MB / 1.033 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007499/0.644, allocations: 395.6 kB / 1.034 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.644, allocations: 3.938 kB / 1.034 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.6442, allocations: 102.4 kB / 1.034 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.6448, allocations: 74.58 kB / 1.034 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00444/0.6492, allocations: 3.444 MB / 1.037 GB, free: 13.32 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.6496, allocations: 0.8035 MB / 1.038 GB, free: 12.49 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.6498, allocations: 39.25 kB / 1.038 GB, free: 12.45 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.65, allocations: 135.4 kB / 1.038 GB, free: 12.32 MB / 0.795 GB Notification: Performance of SimCode: time 5.51e-07/0.65, allocations: 4 kB / 1.038 GB, free: 12.31 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.6748, allocations: 6.739 MB / 1.045 GB, free: 5.691 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.095/7.77, allocations: 15.95 kB / 1.045 GB, free: 5.676 MB / 0.795 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