Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002028/0.002028, 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.002702/0.002702, allocations: 218.4 kB / 22.25 MB, free: 5.125 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.734/2.734, allocations: 476.7 MB / 0.7707 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_11_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.002039/0.002039, allocations: 64.16 kB / 1.117 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3761, allocations: 169.9 MB / 1.283 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2427/0.6188, allocations: 198.1 MB / 1.477 GB, free: 12.95 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0127/0.6315, allocations: 6.98 MB / 1.484 GB, free: 5.961 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/0.6334, allocations: 63.44 kB / 1.484 GB, free: 5.898 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002265/0.6357, allocations: 0.7142 MB / 1.484 GB, free: 5.18 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006777/0.6424, allocations: 2.481 MB / 1.487 GB, free: 2.691 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003841/0.6463, allocations: 1.501 MB / 1.488 GB, free: 1.207 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005068/0.6513, allocations: 3.044 MB / 1.491 GB, free: 14.16 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.6528, allocations: 0.7089 MB / 1.492 GB, free: 13.43 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003228/0.656, allocations: 1.174 MB / 1.493 GB, free: 12.26 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001889/0.6579, allocations: 0.8596 MB / 1.494 GB, free: 11.41 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002247/0.6581, allocations: 100 kB / 1.494 GB, free: 11.31 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004572/0.6627, allocations: 2.202 MB / 1.496 GB, free: 9.102 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005303/0.6632, allocations: 382.6 kB / 1.497 GB, free: 8.727 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008721/0.6641, allocations: 0.587 MB / 1.497 GB, free: 8.137 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004588/0.6687, allocations: 2.398 MB / 1.499 GB, free: 5.73 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.6687, allocations: 3.938 kB / 1.499 GB, free: 5.727 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6687, allocations: 4 kB / 1.5 GB, free: 5.723 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.941e-05/0.6687, allocations: 0 / 1.5 GB, free: 5.723 MB / 1.201 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.003865/0.6726, allocations: 1.59 MB / 1.501 GB, free: 4.09 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.6726, allocations: 8.031 kB / 1.501 GB, free: 4.082 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001679/0.6728, allocations: 114.5 kB / 1.501 GB, free: 3.961 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002999/0.6758, allocations: 0.5377 MB / 1.502 GB, free: 3.422 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/0.6783, allocations: 0.978 MB / 1.503 GB, free: 2.414 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.808e-05/0.6783, allocations: 53.31 kB / 1.503 GB, free: 2.363 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.6785, allocations: 72 kB / 1.503 GB, free: 2.293 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/0.681, allocations: 1.105 MB / 1.504 GB, free: 1.16 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.6811, allocations: 4 kB / 1.504 GB, free: 1.156 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.984e-05/0.6811, allocations: 28 kB / 1.504 GB, free: 1.129 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.7e-05/0.6812, allocations: 33.3 kB / 1.504 GB, free: 1.098 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003168/0.6844, allocations: 1.161 MB / 1.505 GB, free: 15.93 MB / 1.217 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.006751/0.6911, allocations: 3.125 MB / 1.508 GB, free: 12.73 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.6929, allocations: 0.6528 MB / 1.509 GB, free: 12.07 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008555/0.6937, allocations: 396.9 kB / 1.509 GB, free: 11.68 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005239/0.6943, allocations: 140.3 kB / 1.509 GB, free: 11.55 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.6953, allocations: 0.5061 MB / 1.51 GB, free: 11.02 MB / 1.217 GB Notification: Performance of pre-optimization done (n=57): time 2.124e-06/0.6953, allocations: 3.938 kB / 1.51 GB, free: 11.01 MB / 1.217 GB Notification: Performance of matching and sorting (n=57): time 0.002954/0.6983, allocations: 1.229 MB / 1.511 GB, free: 9.77 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.6984, allocations: 136.9 kB / 1.511 GB, free: 9.605 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.7003, allocations: 1.176 MB / 1.512 GB, free: 8.414 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.285e-05/0.7003, allocations: 37.7 kB / 1.512 GB, free: 8.371 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004077/0.7007, allocations: 445.8 kB / 1.513 GB, free: 7.93 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.7009, allocations: 202.2 kB / 1.513 GB, free: 7.73 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.7012, allocations: 146.2 kB / 1.513 GB, free: 7.582 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.7013, allocations: 334 kB / 1.513 GB, free: 7.25 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.7025, allocations: 433 kB / 1.514 GB, free: 6.828 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.7039, allocations: 0.598 MB / 1.514 GB, free: 6.184 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/0.706, allocations: 0.9332 MB / 1.515 GB, free: 5.195 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.706, allocations: 0 / 1.515 GB, free: 5.195 MB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003003/0.709, allocations: 1.208 MB / 1.516 GB, free: 3.973 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.672e-05/0.709, allocations: 33.98 kB / 1.516 GB, free: 3.934 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.709, allocations: 8 kB / 1.516 GB, free: 3.926 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.709, allocations: 7.938 kB / 1.516 GB, free: 3.918 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009264/0.71, allocations: 191.7 kB / 1.517 GB, free: 3.73 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.71, allocations: 4 kB / 1.517 GB, free: 3.727 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.7113, allocations: 239.2 kB / 1.517 GB, free: 3.492 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-05/0.7114, allocations: 39.97 kB / 1.517 GB, free: 3.453 MB / 1.217 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.0004848/0.7119, allocations: 323.3 kB / 1.517 GB, free: 3.121 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.7121, allocations: 127.2 kB / 1.517 GB, free: 2.996 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/0.7142, allocations: 1.004 MB / 1.518 GB, free: 1.984 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.7142, allocations: 7.938 kB / 1.518 GB, free: 1.977 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.7142, allocations: 7.938 kB / 1.518 GB, free: 1.969 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.7143, allocations: 3.984 kB / 1.518 GB, free: 1.965 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005123/0.7194, allocations: 3.138 MB / 1.521 GB, free: 14.68 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.7194, allocations: 4.625 kB / 1.521 GB, free: 14.68 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.72, allocations: 119.8 kB / 1.522 GB, free: 14.56 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.642e-05/0.72, allocations: 12 kB / 1.522 GB, free: 14.55 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.72, allocations: 23.98 kB / 1.522 GB, free: 14.52 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.395e-05/0.7201, allocations: 15.94 kB / 1.522 GB, free: 14.51 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/0.7201, allocations: 11.98 kB / 1.522 GB, free: 14.5 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.7224, allocations: 1.362 MB / 1.523 GB, free: 13.02 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005968/0.723, allocations: 258.9 kB / 1.523 GB, free: 12.76 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.7232, allocations: 23.98 kB / 1.523 GB, free: 12.74 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.7243, allocations: 99.91 kB / 1.523 GB, free: 12.64 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.7244, allocations: 67.67 kB / 1.523 GB, free: 12.57 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.224e-05/0.7245, allocations: 39.97 kB / 1.523 GB, free: 12.54 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001607/0.7261, allocations: 0.8482 MB / 1.524 GB, free: 11.68 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7261, allocations: 0 / 1.524 GB, free: 11.68 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001271/0.7274, allocations: 299.6 kB / 1.525 GB, free: 11.39 MB / 1.232 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.003475/0.7309, allocations: 2.126 MB / 1.527 GB, free: 9.145 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00247/0.7333, allocations: 0.9704 MB / 1.528 GB, free: 8.164 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.7333, allocations: 4 kB / 1.528 GB, free: 8.16 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009512/0.7343, allocations: 488.8 kB / 1.528 GB, free: 7.672 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00284/0.7371, allocations: 0.5466 MB / 1.529 GB, free: 7.133 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/0.7559, allocations: 9.422 MB / 1.538 GB, free: 13.31 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00099/0.7568, allocations: 1.069 MB / 1.539 GB, free: 12.21 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001244/0.7581, allocations: 271.5 kB / 1.539 GB, free: 11.95 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006826/0.7588, allocations: 363.3 kB / 1.539 GB, free: 11.59 MB / 1.248 GB Notification: Performance of SimCode: time 1.322e-06/0.7588, allocations: 0 / 1.539 GB, free: 11.59 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7187/1.478, allocations: 32.4 MB / 1.571 GB, free: 282.2 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.97, allocations: 5.297 kB / 1.571 GB, free: 282.2 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 21.55359383788891]