Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.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.Log10,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log10",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.001672/0.001672, allocations: 108 kB / 15.61 MB, free: 152 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.001927/0.001927, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.327/1.327, 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.307/2.307, allocations: 390.3 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001375, allocations: 67.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6048/0.6062, allocations: 140.4 MB / 0.9497 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.001689/0.6079, allocations: 0.6599 MB / 0.9504 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006201/0.6086, allocations: 0.8067 MB / 0.9512 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.6086, allocations: 0 / 0.9512 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.6086, allocations: 0 / 0.9512 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.726e-05/0.6087, allocations: 5.219 kB / 0.9512 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.6088, allocations: 9.172 kB / 0.9512 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.764e-05/0.6089, allocations: 20.97 kB / 0.9512 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.36e-05/0.609, allocations: 16.33 kB / 0.9512 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.112e-05/0.609, allocations: 7 kB / 0.9512 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.39e-05/0.6091, allocations: 10.17 kB / 0.9512 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.6091, allocations: 3.031 kB / 0.9512 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.6091, allocations: 1.688 kB / 0.9512 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.6091, allocations: 7.984 kB / 0.9512 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.6092, allocations: 10.56 kB / 0.9513 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.979e-05/0.6092, allocations: 20.06 kB / 0.9513 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6092, allocations: 3.984 kB / 0.9513 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6092, allocations: 0 / 0.9513 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.6093, allocations: 5.031 kB / 0.9513 GB, free: 8.113 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.0003294/0.6096, allocations: 338.2 kB / 0.9516 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.6096, allocations: 9.938 kB / 0.9516 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.716e-05/0.6097, allocations: 32.28 kB / 0.9516 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.048e-05/0.6097, allocations: 0.9375 kB / 0.9516 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.761e-05/0.6098, allocations: 165.7 kB / 0.9518 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.6098, allocations: 5.844 kB / 0.9518 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.6098, allocations: 6.016 kB / 0.9518 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.61, allocations: 53.23 kB / 0.9519 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.61, allocations: 3.938 kB / 0.9519 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.61, allocations: 0 / 0.9519 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.61, allocations: 0.875 kB / 0.9519 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.6102, allocations: 35.52 kB / 0.9519 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.6104, allocations: 239.5 kB / 0.9521 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.6105, allocations: 48.09 kB / 0.9522 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.512e-05/0.6106, allocations: 25.86 kB / 0.9522 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.6106, allocations: 1.375 kB / 0.9522 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.353e-05/0.6107, allocations: 30.56 kB / 0.9522 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.6107, allocations: 1.562 kB / 0.9522 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003244/0.611, allocations: 83.27 kB / 0.9523 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.611, allocations: 56.75 kB / 0.9524 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.819e-05/0.6111, allocations: 98.92 kB / 0.9525 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.6111, allocations: 25.7 kB / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.213e-05/0.6111, allocations: 85.59 kB / 0.9526 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.6111, allocations: 9.125 kB / 0.9526 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.6112, allocations: 23.25 kB / 0.9526 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.794e-05/0.6112, allocations: 316.2 kB / 0.9529 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.202e-05/0.6113, allocations: 13.11 kB / 0.9529 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.328e-05/0.6114, allocations: 21.62 kB / 0.9529 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.6115, allocations: 39.23 kB / 0.953 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6115, allocations: 3.938 kB / 0.953 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001806/0.6117, allocations: 68.5 kB / 0.953 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.6117, allocations: 9.875 kB / 0.9531 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.6118, allocations: 0 / 0.9531 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.6118, allocations: 0 / 0.9531 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.6119, allocations: 9.891 kB / 0.9531 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.6119, allocations: 1.094 kB / 0.9531 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.6119, allocations: 8.062 kB / 0.9531 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.6119, allocations: 0 / 0.9531 GB, free: 6.254 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 4.308e-05/0.612, allocations: 115.2 kB / 0.9532 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.612, allocations: 10.3 kB / 0.9532 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.6122, allocations: 66.41 kB / 0.9533 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6122, allocations: 0 / 0.9533 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6122, allocations: 32 / 0.9533 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.6122, allocations: 5.312 kB / 0.9533 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.6124, allocations: 157.8 kB / 0.9534 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6124, allocations: 0 / 0.9534 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-05/0.6124, allocations: 21.92 kB / 0.9534 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6124, allocations: 1.031 kB / 0.9534 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.6124, allocations: 0 / 0.9534 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.6125, allocations: 0 / 0.9534 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6125, allocations: 1.25 kB / 0.9534 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.6127, allocations: 162.4 kB / 0.9536 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.6127, allocations: 78.48 kB / 0.9537 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.6127, allocations: 1.5 kB / 0.9537 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.6128, allocations: 10.23 kB / 0.9537 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.6128, allocations: 1.406 kB / 0.9537 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.6128, allocations: 1.688 kB / 0.9537 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.076e-05/0.6128, allocations: 86.72 kB / 0.9538 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.6129, allocations: 4 kB / 0.9538 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000228/0.6131, allocations: 3.562 kB / 0.9538 GB, free: 5.516 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.0003818/0.6135, allocations: 0.6989 MB / 0.9545 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001982/0.6137, allocations: 41.89 kB / 0.9545 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6137, allocations: 0 / 0.9545 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.382e-05/0.6138, allocations: 23.23 kB / 0.9545 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.614, allocations: 2.906 kB / 0.9545 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.6144, allocations: 148 kB / 0.9547 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.202e-05/0.6145, allocations: 0.6809 MB / 0.9553 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.099e-05/0.6145, allocations: 1.438 kB / 0.9553 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.6146, allocations: 8.938 kB / 0.9553 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6146, allocations: 3.938 kB / 0.9553 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.6303, allocations: 1.238 MB / 0.9565 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.205/7.835, allocations: 11.48 kB / 0.9566 GB, free: 3.207 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_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_Log10.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches