Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.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.Divide,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide",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.01129/0.01129, allocations: 97.62 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.002573/0.002574, allocations: 200.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.499/2.499, allocations: 222.9 MB / 240.4 MB, free: 4.344 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 4.659/4.659, allocations: 390.3 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00243/0.00243, allocations: 70.25 kB / 0.9505 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5465/0.549, allocations: 140.4 MB / 1.088 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.003003/0.5521, allocations: 0.7059 MB / 1.088 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.5536, allocations: 0.8043 MB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.5537, allocations: 0 / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.78e-05/0.5537, allocations: 0 / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.5539, allocations: 11.88 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.363e-05/0.554, allocations: 7.984 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.5541, allocations: 51.84 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.5543, allocations: 8 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.5544, allocations: 23.91 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.338e-05/0.5545, allocations: 19.91 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.5545, allocations: 4 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.5545, allocations: 4 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.5546, allocations: 4 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.5546, allocations: 23.86 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.5548, allocations: 40.09 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.5548, allocations: 7.938 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of FrontEnd: time 3.697e-06/0.5548, allocations: 3.938 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.5548, allocations: 0 / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009076/0.5557, allocations: 355.4 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 8.121e-05/0.5558, allocations: 12.03 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.4e-05/0.5559, allocations: 34.75 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.556, allocations: 12.88 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.5562, allocations: 172.3 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.5562, allocations: 4.375 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.5562, allocations: 384 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.5566, allocations: 66.22 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.5567, allocations: 3.938 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.5567, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.5567, allocations: 4 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/0.5571, allocations: 67.86 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/0.5577, allocations: 272.8 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.5581, allocations: 58.53 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.5583, allocations: 36.92 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.5583, allocations: 0 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.5584, allocations: 34.56 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.5584, allocations: 3.938 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0008414/0.5593, allocations: 133.5 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.5593, allocations: 51.41 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.5595, allocations: 105.8 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.5595, allocations: 25.7 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.5596, allocations: 92.08 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.5597, allocations: 3.953 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.03e-05/0.5597, allocations: 21.7 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.5599, allocations: 314.8 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.5602, allocations: 27.97 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.5604, allocations: 35.95 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004311/0.5608, allocations: 76.66 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5608, allocations: 4 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004847/0.5613, allocations: 93.91 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.5614, allocations: 8 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.5614, allocations: 3.984 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.5614, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.5616, allocations: 19.98 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.5616, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.5618, allocations: 7.984 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.5618, allocations: 7.984 kB / 1.091 GB, free: 13.85 MB / 0.8575 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 (3): * Single equations (assignments): 3 * 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.0001338/0.5619, allocations: 109.8 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.562, allocations: 7.938 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.369e-05/0.562, allocations: 7.906 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.562, allocations: 3.938 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.5621, allocations: 4 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.5621, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.5624, allocations: 173.6 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5624, allocations: 3.984 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.5625, allocations: 15.98 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5625, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.5625, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5626, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5626, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005674/0.5631, allocations: 203.4 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/0.5632, allocations: 81.09 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.5632, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.5634, allocations: 11.98 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.5635, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.5635, allocations: 8 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.086e-05/0.5636, allocations: 91.2 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5636, allocations: 3.938 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003898/0.564, allocations: 11.94 kB / 1.092 GB, free: 13.03 MB / 0.8575 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 (3): * Single equations (assignments): 3 * 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.001024/0.565, allocations: 0.7319 MB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00054/0.5656, allocations: 63.92 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.5656, allocations: 4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.5659, allocations: 43.91 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005136/0.5664, allocations: 9.703 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008751/0.5673, allocations: 147.2 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006323/0.5679, allocations: 0.6846 MB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.705e-05/0.568, allocations: 0 / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.5681, allocations: 15.44 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of SimCode: time 5e-07/0.5681, allocations: 0 / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04966/0.6177, allocations: 1.638 MB / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.28, allocations: 5.812 kB / 1.095 GB, free: 9.699 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_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_Divide.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Divide.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches