Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.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.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",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.01314/0.01314, allocations: 94.86 kB / 15.73 MB, free: 6.039 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.002768/0.002768, allocations: 192.1 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.756/2.756, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.379/4.379, allocations: 390.3 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002422/0.002422, allocations: 68.91 kB / 0.9505 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5003/0.5028, allocations: 140.4 MB / 1.088 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.007524/0.5104, allocations: 0.8928 MB / 1.088 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.5124, allocations: 0.8818 MB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.5125, allocations: 0 / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.716e-05/0.5127, allocations: 19.8 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.5128, allocations: 7.875 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.5132, allocations: 71.91 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.5135, allocations: 135.7 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.5138, allocations: 69.19 kB / 1.09 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004273/0.5181, allocations: 47.8 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.5183, allocations: 63.69 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.863e-05/0.5184, allocations: 12 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.357e-05/0.5184, allocations: 12 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.959e-05/0.5185, allocations: 31.91 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.5186, allocations: 63.64 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.519, allocations: 143.6 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.519, allocations: 4 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.45e-06/0.519, allocations: 3.984 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.5191, allocations: 4 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001052/0.5201, allocations: 438.9 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/0.5202, allocations: 8.031 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.096e-05/0.5203, allocations: 50.67 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.892e-05/0.5204, allocations: 20.84 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.5209, allocations: 216.1 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.5209, allocations: 12.38 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.521, allocations: 12.38 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000574/0.5215, allocations: 142.7 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.5216, allocations: 3.938 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.5216, allocations: 8 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.5217, allocations: 4 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006088/0.5223, allocations: 127.9 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.5237, allocations: 0.4923 MB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.5241, allocations: 86.48 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.5243, allocations: 52.81 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.5244, allocations: 0 / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.5244, allocations: 30.56 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 2.053e-06/0.5245, allocations: 0 / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.001008/0.5255, allocations: 161.7 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.5256, allocations: 59.34 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.5259, allocations: 191.5 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.526, allocations: 25.7 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.5261, allocations: 120 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.5262, allocations: 27.75 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.5263, allocations: 33.66 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.5265, allocations: 326.8 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.5268, allocations: 39.97 kB / 1.093 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.527, allocations: 48.91 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/0.5275, allocations: 91.45 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.5275, allocations: 3.938 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006002/0.5281, allocations: 149.5 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.5282, allocations: 4 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.5282, allocations: 384 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.5282, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.5285, allocations: 23.98 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.5285, allocations: 4 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.5287, allocations: 31.7 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.5288, allocations: 4 kB / 1.093 GB, free: 12.35 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 (13): * Single equations (assignments): 13 * 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.0001589/0.5289, allocations: 121.8 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.529, allocations: 15.91 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005952/0.5296, allocations: 143 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.5297, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.5297, allocations: 4 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.5297, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.5308, allocations: 456.8 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5308, allocations: 0 / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.531, allocations: 19.98 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/0.531, allocations: 4 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.5311, allocations: 4 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/0.5311, allocations: 7.938 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5311, allocations: 0 / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006071/0.5317, allocations: 247.4 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/0.5318, allocations: 89.06 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.5319, allocations: 7.984 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.5322, allocations: 15.98 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.5323, allocations: 11.94 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.5323, allocations: 7.984 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002076/0.5325, allocations: 145.2 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5326, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005476/0.5331, allocations: 27.89 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.01728/0.5504, allocations: 0.7776 MB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006885/0.5512, allocations: 107.8 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.5512, allocations: 0 / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.5515, allocations: 51.84 kB / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006266/0.5521, allocations: 19.94 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/0.5562, allocations: 1.878 MB / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.5566, allocations: 0.7123 MB / 1.098 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000106/0.5568, allocations: 13.08 kB / 1.098 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.5569, allocations: 39.42 kB / 1.098 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/0.5569, allocations: 0 / 1.098 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1053/0.6623, allocations: 2.82 MB / 1.1 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/15.45, allocations: 5.062 kB / 1.1 GB, free: 4.449 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_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_Line.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches