Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",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.001072/0.001072, 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.001022/0.001022, allocations: 192.7 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 390.3 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001434, allocations: 71.89 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5876/0.589, allocations: 140.4 MB / 0.9497 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.001735/0.5908, allocations: 0.6591 MB / 0.9504 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006371/0.5915, allocations: 0.8038 MB / 0.9512 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.5915, allocations: 0 / 0.9512 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.5915, allocations: 0 / 0.9512 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.248e-05/0.5916, allocations: 5.281 kB / 0.9512 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001193/0.5917, allocations: 13.3 kB / 0.9512 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.946e-05/0.5918, allocations: 22.38 kB / 0.9512 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.508e-05/0.5919, allocations: 10.22 kB / 0.9512 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.236e-05/0.5919, allocations: 11.81 kB / 0.9512 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.417e-05/0.592, allocations: 14.3 kB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.592, allocations: 2.562 kB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.592, allocations: 1.375 kB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.592, allocations: 1.25 kB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.5921, allocations: 9.156 kB / 0.9513 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.153e-05/0.5921, allocations: 25.05 kB / 0.9513 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5921, allocations: 0 / 0.9513 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5921, allocations: 0 / 0.9513 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.5921, allocations: 0 / 0.9513 GB, free: 7.977 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003375/0.5925, allocations: 343.5 kB / 0.9516 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.5925, allocations: 8.781 kB / 0.9516 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.267e-05/0.5926, allocations: 31.88 kB / 0.9516 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.077e-05/0.5926, allocations: 2.031 kB / 0.9517 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.82e-05/0.5927, allocations: 170.5 kB / 0.9518 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.5927, allocations: 384 / 0.9518 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.5927, allocations: 1.625 kB / 0.9518 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.5928, allocations: 49.92 kB / 0.9519 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.5929, allocations: 7.922 kB / 0.9519 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.5929, allocations: 4 kB / 0.9519 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5929, allocations: 1.375 kB / 0.9519 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.5931, allocations: 34.08 kB / 0.9519 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.5933, allocations: 249 kB / 0.9521 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.5934, allocations: 43 kB / 0.9522 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.602e-05/0.5935, allocations: 27.48 kB / 0.9522 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.5935, allocations: 0 / 0.9522 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.141e-05/0.5936, allocations: 32.12 kB / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.5936, allocations: 0 / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000325/0.5939, allocations: 88.58 kB / 0.9523 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.78e-05/0.5939, allocations: 51.41 kB / 0.9524 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.844e-05/0.594, allocations: 99.64 kB / 0.9525 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.594, allocations: 25.7 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.147e-05/0.594, allocations: 89.34 kB / 0.9526 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.594, allocations: 8.969 kB / 0.9526 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.5941, allocations: 15.09 kB / 0.9526 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.033e-05/0.5941, allocations: 316.1 kB / 0.9529 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.127e-05/0.5942, allocations: 21.17 kB / 0.9529 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.079e-05/0.5943, allocations: 17.16 kB / 0.9529 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.5944, allocations: 36.23 kB / 0.953 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5944, allocations: 7.875 kB / 0.953 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001835/0.5946, allocations: 72.91 kB / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.5946, allocations: 4.219 kB / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.5946, allocations: 1.281 kB / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.5947, allocations: 0 / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.588e-05/0.5948, allocations: 10.45 kB / 0.9531 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.5948, allocations: 0 / 0.9531 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.5948, allocations: 7.969 kB / 0.9531 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.5948, allocations: 1.656 kB / 0.9531 GB, free: 6.109 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.78e-05/0.5949, allocations: 118.9 kB / 0.9532 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.5949, allocations: 5.25 kB / 0.9532 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.5951, allocations: 70 kB / 0.9533 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.5951, allocations: 1.125 kB / 0.9533 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.5952, allocations: 0 / 0.9533 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.5952, allocations: 3.938 kB / 0.9533 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.5953, allocations: 158.9 kB / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.5953, allocations: 8.031 kB / 0.9534 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.773e-05/0.5953, allocations: 9.547 kB / 0.9534 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5954, allocations: 1.688 kB / 0.9534 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.5954, allocations: 0 / 0.9534 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5954, allocations: 0 / 0.9534 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5954, allocations: 0 / 0.9534 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.5956, allocations: 163.7 kB / 0.9536 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.5956, allocations: 82.02 kB / 0.9537 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.5956, allocations: 5.359 kB / 0.9537 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.5957, allocations: 2.562 kB / 0.9537 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.5957, allocations: 1.344 kB / 0.9537 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.5957, allocations: 5.359 kB / 0.9537 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.046e-05/0.5958, allocations: 78.12 kB / 0.9538 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5958, allocations: 3.938 kB / 0.9538 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000219/0.596, allocations: 4.281 kB / 0.9538 GB, free: 5.375 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (2): * Single equations (assignments): 2 * 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.0003716/0.5964, allocations: 0.6996 MB / 0.9545 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.5966, allocations: 45.7 kB / 0.9545 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5966, allocations: 0 / 0.9545 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/0.5967, allocations: 19.48 kB / 0.9545 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.5969, allocations: 3.5 kB / 0.9545 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.5973, allocations: 139.4 kB / 0.9547 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.232e-05/0.5974, allocations: 0.6845 MB / 0.9553 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.5974, allocations: 5.109 kB / 0.9553 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.5975, allocations: 8.844 kB / 0.9553 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5975, allocations: 0 / 0.9553 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.6145, allocations: 1.248 MB / 0.9566 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.223/7.837, allocations: 12.52 kB / 0.9566 GB, free: 3.059 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches