Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.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.Round,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",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.001565/0.001564, 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.001801/0.001801, allocations: 198 kB / 16.54 MB, free: 6.672 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.501/2.501, allocations: 390.2 MB / 0.6647 GB, free: 304 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 59.91 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5868/0.5882, allocations: 140.4 MB / 0.9497 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.001893/0.5902, allocations: 0.7599 MB / 0.9505 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007428/0.5909, allocations: 0.8399 MB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.591, allocations: 1.375 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.591, allocations: 3.938 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.884e-05/0.5911, allocations: 17.25 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.5913, allocations: 28.08 kB / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.312e-05/0.5914, allocations: 72.83 kB / 0.9514 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.5915, allocations: 20.64 kB / 0.9514 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.727e-05/0.5916, allocations: 26.42 kB / 0.9515 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.929e-05/0.5916, allocations: 41.86 kB / 0.9515 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.5917, allocations: 10.31 kB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.681e-05/0.5917, allocations: 7.812 kB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.5917, allocations: 25.38 kB / 0.9515 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.916e-05/0.5918, allocations: 29.02 kB / 0.9516 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.495e-05/0.5919, allocations: 67.75 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5919, allocations: 0.5625 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5919, allocations: 1.031 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.5919, allocations: 0 / 0.9516 GB, free: 7.57 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000466/0.5924, allocations: 390 kB / 0.952 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.5924, allocations: 9.25 kB / 0.952 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.574e-05/0.5924, allocations: 31.84 kB / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.5925, allocations: 9 kB / 0.9521 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.126e-05/0.5926, allocations: 177.8 kB / 0.9522 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.5926, allocations: 1.938 kB / 0.9522 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.5926, allocations: 4.312 kB / 0.9522 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.5928, allocations: 86.05 kB / 0.9523 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.5928, allocations: 3.938 kB / 0.9523 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.5928, allocations: 5.406 kB / 0.9523 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.5928, allocations: 1.219 kB / 0.9523 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.5931, allocations: 66.47 kB / 0.9524 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.5934, allocations: 323 kB / 0.9527 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.5937, allocations: 94.97 kB / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.5938, allocations: 35.34 kB / 0.9528 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.5938, allocations: 3.984 kB / 0.9528 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.5938, allocations: 35.98 kB / 0.9529 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.5938, allocations: 3.938 kB / 0.9529 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004557/0.5943, allocations: 138.6 kB / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/0.5943, allocations: 52.81 kB / 0.953 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/0.5944, allocations: 120.7 kB / 0.9532 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.5944, allocations: 26.83 kB / 0.9532 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.03e-05/0.5945, allocations: 97.92 kB / 0.9533 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.5945, allocations: 19.58 kB / 0.9533 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.5945, allocations: 17.62 kB / 0.9533 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.529e-05/0.5946, allocations: 324.9 kB / 0.9536 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.5947, allocations: 31.84 kB / 0.9537 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.5948, allocations: 27.08 kB / 0.9537 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.595, allocations: 70.34 kB / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5951, allocations: 5.172 kB / 0.9538 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002716/0.5953, allocations: 105.8 kB / 0.9539 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.5953, allocations: 5.844 kB / 0.9539 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5954, allocations: 3.984 kB / 0.9539 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5954, allocations: 0 / 0.9539 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.5955, allocations: 16.36 kB / 0.9539 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.5955, allocations: 0 / 0.9539 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.156e-05/0.5956, allocations: 12.05 kB / 0.9539 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.5956, allocations: 5.203 kB / 0.9539 GB, free: 5.43 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 (6): * Single equations (assignments): 6 * 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.738e-05/0.5957, allocations: 125.8 kB / 0.954 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.5957, allocations: 6.781 kB / 0.954 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.5958, allocations: 9.812 kB / 0.954 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5958, allocations: 112 / 0.954 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5958, allocations: 5.375 kB / 0.954 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5958, allocations: 3.984 kB / 0.954 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.5959, allocations: 189.8 kB / 0.9542 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5959, allocations: 0 / 0.9542 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.5961, allocations: 23.23 kB / 0.9542 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5961, allocations: 5.5 kB / 0.9543 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.5961, allocations: 0 / 0.9543 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5961, allocations: 1.281 kB / 0.9543 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5961, allocations: 0 / 0.9543 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.5964, allocations: 205.5 kB / 0.9544 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.5964, allocations: 83.48 kB / 0.9545 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.5964, allocations: 3.984 kB / 0.9545 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.5966, allocations: 13.08 kB / 0.9545 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.5966, allocations: 12.11 kB / 0.9546 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.5966, allocations: 9.281 kB / 0.9546 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.624e-05/0.5967, allocations: 97.98 kB / 0.9547 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5967, allocations: 0 / 0.9547 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002288/0.5969, allocations: 14.22 kB / 0.9547 GB, free: 4.656 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 (6): * Single equations (assignments): 6 * 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.0004617/0.5974, allocations: 0.7428 MB / 0.9554 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002833/0.5977, allocations: 75.59 kB / 0.9555 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5977, allocations: 2.188 kB / 0.9555 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.5978, allocations: 38.47 kB / 0.9555 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.5981, allocations: 17.22 kB / 0.9555 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.5996, allocations: 1.436 MB / 0.9569 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.5997, allocations: 0.6969 MB / 0.9576 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.576e-05/0.5998, allocations: 8.25 kB / 0.9576 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.564e-05/0.5999, allocations: 24.2 kB / 0.9576 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.5999, allocations: 4 kB / 0.9576 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.617, allocations: 2.272 MB / 0.9599 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.807/8.424, allocations: 17.38 kB / 0.9599 GB, free: 0.6016 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_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_Round.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches