Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 218.8 kB / 22.25 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.341/1.341, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.94/2.94, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 67.03 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2978, allocations: 180.2 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2045/0.5023, allocations: 198.2 MB / 1.546 GB, free: 1.52 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01018/0.5125, allocations: 6.971 MB / 1.553 GB, free: 10.54 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.5136, allocations: 67.38 kB / 1.553 GB, free: 10.47 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.5154, allocations: 0.7103 MB / 1.554 GB, free: 9.754 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.005478/0.5209, allocations: 2.479 MB / 1.556 GB, free: 7.266 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003333/0.5242, allocations: 1.495 MB / 1.558 GB, free: 5.789 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.004469/0.5287, allocations: 3.04 MB / 1.561 GB, free: 2.738 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.53, allocations: 0.7205 MB / 1.562 GB, free: 2.004 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003655/0.5336, allocations: 1.609 MB / 1.563 GB, free: 404 kB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.5351, allocations: 0.846 MB / 1.564 GB, free: 15.55 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.5353, allocations: 100 kB / 1.564 GB, free: 15.46 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003735/0.539, allocations: 2.171 MB / 1.566 GB, free: 13.28 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0004349/0.5395, allocations: 378.7 kB / 1.566 GB, free: 12.91 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0007807/0.5403, allocations: 0.583 MB / 1.567 GB, free: 12.32 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.003737/0.544, allocations: 2.402 MB / 1.569 GB, free: 9.914 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.544, allocations: 0 / 1.569 GB, free: 9.914 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.142e-06/0.544, allocations: 0 / 1.569 GB, free: 9.914 MB / 1.264 GB Notification: Performance of Transformations before backend: time 3.622e-05/0.544, allocations: 0 / 1.569 GB, free: 9.914 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003491/0.5475, allocations: 1.602 MB / 1.571 GB, free: 8.27 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.5476, allocations: 8.031 kB / 1.571 GB, free: 8.262 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001507/0.5477, allocations: 118.5 kB / 1.571 GB, free: 8.137 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/0.5504, allocations: 0.5338 MB / 1.572 GB, free: 7.602 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.5526, allocations: 0.978 MB / 1.573 GB, free: 6.594 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/0.5526, allocations: 57.25 kB / 1.573 GB, free: 6.539 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.5527, allocations: 71.98 kB / 1.573 GB, free: 6.469 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/0.5549, allocations: 1.105 MB / 1.574 GB, free: 5.336 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.555, allocations: 0 / 1.574 GB, free: 5.336 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-05/0.555, allocations: 28 kB / 1.574 GB, free: 5.309 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/0.5551, allocations: 41.28 kB / 1.574 GB, free: 5.27 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002843/0.5579, allocations: 1.157 MB / 1.575 GB, free: 4.113 MB / 1.264 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005303/0.5632, allocations: 3.125 MB / 1.578 GB, free: 0.9102 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.5648, allocations: 0.6488 MB / 1.579 GB, free: 260 kB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007558/0.5655, allocations: 398.1 kB / 1.579 GB, free: 15.86 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000462/0.566, allocations: 124.3 kB / 1.579 GB, free: 15.73 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009649/0.567, allocations: 0.5178 MB / 1.58 GB, free: 15.2 MB / 1.279 GB Notification: Performance of pre-optimization done (n=57): time 1.723e-06/0.567, allocations: 0 / 1.58 GB, free: 15.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=57): time 0.002749/0.5697, allocations: 1.221 MB / 1.581 GB, free: 13.96 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.912e-05/0.5698, allocations: 144.8 kB / 1.581 GB, free: 13.79 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/0.5716, allocations: 1.18 MB / 1.582 GB, free: 12.59 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 7.223e-05/0.5717, allocations: 41.7 kB / 1.582 GB, free: 12.55 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004302/0.5721, allocations: 437.8 kB / 1.583 GB, free: 12.11 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.5723, allocations: 198.3 kB / 1.583 GB, free: 11.92 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.5725, allocations: 150.2 kB / 1.583 GB, free: 11.77 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5727, allocations: 330 kB / 1.583 GB, free: 11.44 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.5738, allocations: 441 kB / 1.584 GB, free: 11.01 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.5751, allocations: 0.5902 MB / 1.584 GB, free: 10.37 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/0.5771, allocations: 0.9293 MB / 1.585 GB, free: 9.383 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5771, allocations: 4 kB / 1.585 GB, free: 9.379 MB / 1.279 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00279/0.5799, allocations: 1.197 MB / 1.586 GB, free: 8.164 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.5799, allocations: 33.7 kB / 1.586 GB, free: 8.125 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5799, allocations: 4.094 kB / 1.586 GB, free: 8.121 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.58, allocations: 12.27 kB / 1.586 GB, free: 8.109 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008681/0.5808, allocations: 191.7 kB / 1.587 GB, free: 7.922 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.5808, allocations: 15.92 kB / 1.587 GB, free: 7.906 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.5822, allocations: 243.2 kB / 1.587 GB, free: 7.668 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.202e-05/0.5822, allocations: 35.97 kB / 1.587 GB, free: 7.633 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0004492/0.5827, allocations: 337.2 kB / 1.587 GB, free: 7.289 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.5829, allocations: 119.2 kB / 1.587 GB, free: 7.172 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/0.5849, allocations: 1.01 MB / 1.588 GB, free: 6.156 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.5849, allocations: 15.94 kB / 1.588 GB, free: 6.141 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5849, allocations: 3.938 kB / 1.588 GB, free: 6.137 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.585, allocations: 3.984 kB / 1.588 GB, free: 6.133 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004882/0.5898, allocations: 3.13 MB / 1.591 GB, free: 2.855 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.5899, allocations: 12 kB / 1.591 GB, free: 2.844 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005663/0.5904, allocations: 120.2 kB / 1.591 GB, free: 2.727 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.5904, allocations: 8 kB / 1.591 GB, free: 2.719 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.762e-05/0.5905, allocations: 27.98 kB / 1.591 GB, free: 2.691 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.5905, allocations: 11.94 kB / 1.591 GB, free: 2.68 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/0.5905, allocations: 11.94 kB / 1.592 GB, free: 2.668 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.5926, allocations: 1.366 MB / 1.593 GB, free: 1.18 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000531/0.5931, allocations: 258.9 kB / 1.593 GB, free: 0.9258 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.5933, allocations: 27.98 kB / 1.593 GB, free: 0.8984 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.5943, allocations: 99.91 kB / 1.593 GB, free: 0.8008 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.49e-05/0.5944, allocations: 67.67 kB / 1.593 GB, free: 0.7344 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.349e-05/0.5944, allocations: 39.97 kB / 1.593 GB, free: 0.6953 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001394/0.5958, allocations: 0.8482 MB / 1.594 GB, free: 15.84 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/0.5958, allocations: 0 / 1.594 GB, free: 15.84 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0009659/0.5968, allocations: 303.6 kB / 1.594 GB, free: 15.54 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.002839/0.5996, allocations: 2.122 MB / 1.597 GB, free: 13.31 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002196/0.6018, allocations: 0.9664 MB / 1.597 GB, free: 12.32 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.6018, allocations: 8.125 kB / 1.597 GB, free: 12.31 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0008482/0.6027, allocations: 481.6 kB / 1.598 GB, free: 11.83 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/0.6051, allocations: 0.5528 MB / 1.598 GB, free: 11.29 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/0.6205, allocations: 9.416 MB / 1.608 GB, free: 1.48 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007244/0.6213, allocations: 1.065 MB / 1.609 GB, free: 396 kB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.000922/0.6222, allocations: 271.5 kB / 1.609 GB, free: 124 kB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5146/1.137, allocations: 355.8 kB / 1.609 GB, free: 255.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.563e-06/1.137, allocations: 1.031 kB / 1.609 GB, free: 255.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07234/1.209, allocations: 32.41 MB / 1.641 GB, free: 246.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.99, allocations: 4.188 kB / 1.641 GB, free: 246.2 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.08538260892965]