Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.DHC.Networks.Pipes.Validation.Pipe,fileNamePrefix="Buildings_latest_Buildings_DHC_Networks_Pipes_Validation_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Networks.Pipes.Validation.Pipe,fileNamePrefix="Buildings_latest_Buildings_DHC_Networks_Pipes_Validation_Pipe",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.00502/0.00502, allocations: 102.8 kB / 15.74 MB, free: 6.496 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.001323/0.001323, allocations: 192.9 kB / 16.68 MB, free: 6.375 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.89 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.291, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.5452/0.8362, allocations: 28.94 MB / 1.27 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.8463, allocations: 6.798 MB / 1.276 GB, free: 10.29 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.8475, allocations: 34.81 kB / 1.276 GB, free: 10.27 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.8486, allocations: 409.5 kB / 1.277 GB, free: 10.02 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003468/0.8521, allocations: 1.302 MB / 1.278 GB, free: 9.277 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.8539, allocations: 0.6278 MB / 1.279 GB, free: 8.977 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00296/0.8568, allocations: 2.147 MB / 1.281 GB, free: 8.016 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007932/0.8576, allocations: 0.5419 MB / 1.281 GB, free: 7.777 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.8595, allocations: 0.9398 MB / 1.282 GB, free: 7.344 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007807/0.8603, allocations: 0.5076 MB / 1.283 GB, free: 7.113 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.519e-05/0.8604, allocations: 42.78 kB / 1.283 GB, free: 7.113 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002202/0.8626, allocations: 0.9834 MB / 1.284 GB, free: 6.766 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.8628, allocations: 148.5 kB / 1.284 GB, free: 6.684 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004332/0.8632, allocations: 375.8 kB / 1.284 GB, free: 6.469 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.8655, allocations: 1.236 MB / 1.285 GB, free: 6.008 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8655, allocations: 0.5312 kB / 1.285 GB, free: 6.008 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8655, allocations: 0 / 1.285 GB, free: 6.008 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.8655, allocations: 0.5312 kB / 1.285 GB, free: 6.008 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002062/0.8676, allocations: 1.169 MB / 1.287 GB, free: 5.133 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.8676, allocations: 10.14 kB / 1.287 GB, free: 5.133 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.752e-05/0.8677, allocations: 74.48 kB / 1.287 GB, free: 5.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.8679, allocations: 91.95 kB / 1.287 GB, free: 5.023 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.8694, allocations: 0.7787 MB / 1.287 GB, free: 4.547 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.8695, allocations: 33.66 kB / 1.287 GB, free: 4.527 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.8695, allocations: 37.59 kB / 1.288 GB, free: 4.516 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.8701, allocations: 325 kB / 1.288 GB, free: 4.379 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.8701, allocations: 0 / 1.288 GB, free: 4.379 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.8702, allocations: 16.19 kB / 1.288 GB, free: 4.367 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.8702, allocations: 7.031 kB / 1.288 GB, free: 4.367 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.8706, allocations: 240.2 kB / 1.288 GB, free: 4.297 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.8727, allocations: 1.45 MB / 1.29 GB, free: 3.293 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.8729, allocations: 147.4 kB / 1.29 GB, free: 3.23 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.8731, allocations: 105.1 kB / 1.29 GB, free: 3.195 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006764/0.8738, allocations: 0.8259 MB / 1.291 GB, free: 2.238 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.8738, allocations: 36.39 kB / 1.291 GB, free: 2.195 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.8738, allocations: 0 / 1.291 GB, free: 2.195 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.000593/0.8744, allocations: 312.2 kB / 1.291 GB, free: 2.062 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.8745, allocations: 53.56 kB / 1.291 GB, free: 2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008986/0.8754, allocations: 0.7216 MB / 1.292 GB, free: 1.688 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.8754, allocations: 31.05 kB / 1.292 GB, free: 1.652 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.8757, allocations: 376.3 kB / 1.292 GB, free: 1.352 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.985e-05/0.8758, allocations: 71.77 kB / 1.292 GB, free: 1.297 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.876, allocations: 100.1 kB / 1.292 GB, free: 1.246 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.8761, allocations: 318.8 kB / 1.293 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.8763, allocations: 111.4 kB / 1.293 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.8766, allocations: 273.3 kB / 1.293 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.8771, allocations: 346.9 kB / 1.293 GB, free: 424 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8771, allocations: 5.281 kB / 1.293 GB, free: 420 kB / 1.014 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007294/0.8778, allocations: 449.3 kB / 1.294 GB, free: 224 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.8779, allocations: 7.766 kB / 1.294 GB, free: 224 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.8779, allocations: 8.469 kB / 1.294 GB, free: 220 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.8779, allocations: 14.08 kB / 1.294 GB, free: 212 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004609/0.8825, allocations: 0.6737 MB / 1.294 GB, free: 180 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008074/0.8834, allocations: 1.21 MB / 1.296 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/0.8839, allocations: 46.94 kB / 1.296 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/0.8839, allocations: 23.48 kB / 1.296 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003543/0.8843, allocations: 246.2 kB / 1.296 GB, free: 14.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003307/0.8846, allocations: 277.7 kB / 1.296 GB, free: 14.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004329/0.8851, allocations: 357.7 kB / 1.296 GB, free: 14.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.965e-06/0.8851, allocations: 1.375 kB / 1.296 GB, free: 14.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006961/0.8858, allocations: 442.5 kB / 1.297 GB, free: 14.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.8858, allocations: 6.719 kB / 1.297 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.8858, allocations: 4.844 kB / 1.297 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/0.8858, allocations: 8.625 kB / 1.297 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004385/0.8902, allocations: 0.6841 MB / 1.298 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007467/0.891, allocations: 1.205 MB / 1.299 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/0.8914, allocations: 33.22 kB / 1.299 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.8915, allocations: 23.14 kB / 1.299 GB, free: 12.84 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.8917, allocations: 215.2 kB / 1.299 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.8918, allocations: 78.08 kB / 1.299 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006581/0.8925, allocations: 384.5 kB / 1.299 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.8925, allocations: 7.734 kB / 1.299 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.8925, allocations: 3.938 kB / 1.299 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.8925, allocations: 2.422 kB / 1.299 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.8939, allocations: 1.007 MB / 1.3 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.894, allocations: 1.125 kB / 1.3 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.515e-05/0.8941, allocations: 29.5 kB / 1.3 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.8941, allocations: 6.781 kB / 1.3 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.8941, allocations: 16.95 kB / 1.3 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.8941, allocations: 3.609 kB / 1.3 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8941, allocations: 2.781 kB / 1.3 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005164/0.8946, allocations: 462.5 kB / 1.301 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.8948, allocations: 176.2 kB / 1.301 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/0.8949, allocations: 8.734 kB / 1.301 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.8952, allocations: 10.33 kB / 1.301 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.8952, allocations: 22.08 kB / 1.301 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.8953, allocations: 14.98 kB / 1.301 GB, free: 11.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006413/0.8959, allocations: 0.4975 MB / 1.302 GB, free: 11.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8959, allocations: 0 / 1.302 GB, free: 11.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001151/0.8971, allocations: 384.6 kB / 1.302 GB, free: 10.99 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.00145/0.8985, allocations: 1.269 MB / 1.303 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01378/0.9123, allocations: 2.236 MB / 1.305 GB, free: 9.809 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.9124, allocations: 0 / 1.305 GB, free: 9.809 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.9125, allocations: 117.9 kB / 1.306 GB, free: 9.773 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.914, allocations: 298.3 kB / 1.306 GB, free: 9.676 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00664/0.9207, allocations: 4.991 MB / 1.311 GB, free: 6.773 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.9212, allocations: 0.9251 MB / 1.312 GB, free: 6.055 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006213/0.9219, allocations: 185.3 kB / 1.312 GB, free: 6.012 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003128/0.9222, allocations: 256.8 kB / 1.312 GB, free: 5.824 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.9222, allocations: 0 / 1.312 GB, free: 5.824 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05164/0.9738, allocations: 20.37 MB / 1.332 GB, free: 15.93 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.45, allocations: 5.438 kB / 1.332 GB, free: 15.92 MB / 1.045 GB (rm -f Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; mkfifo Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe >> ../files/Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_DHC_Networks_Pipes_Validation_Pipe.fmu > Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Networks_Pipes_Validation_Pipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches