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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.105/3.105, allocations: 497.2 MB / 0.7811 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 177] 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.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: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 72.05 kB / 1.134 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3601, allocations: 173.9 MB / 1.304 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2243/0.5844, allocations: 194.8 MB / 1.494 GB, free: 14.2 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01163/0.596, allocations: 6.944 MB / 1.501 GB, free: 7.238 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002122/0.5982, allocations: 47.69 kB / 1.501 GB, free: 7.191 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002075/0.6002, allocations: 0.7064 MB / 1.502 GB, free: 6.48 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006858/0.6071, allocations: 2.447 MB / 1.504 GB, free: 4.023 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003766/0.6109, allocations: 1.424 MB / 1.505 GB, free: 2.617 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004463/0.6153, allocations: 2.982 MB / 1.508 GB, free: 15.62 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.6166, allocations: 0.7434 MB / 1.509 GB, free: 14.86 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003629/0.6202, allocations: 1.598 MB / 1.511 GB, free: 13.27 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.6216, allocations: 0.8388 MB / 1.511 GB, free: 12.43 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.6218, allocations: 100 kB / 1.512 GB, free: 12.33 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003799/0.6255, allocations: 2.14 MB / 1.514 GB, free: 10.19 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004144/0.626, allocations: 374.7 kB / 1.514 GB, free: 9.82 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006558/0.6266, allocations: 0.5869 MB / 1.515 GB, free: 9.23 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003729/0.6303, allocations: 2.406 MB / 1.517 GB, free: 6.816 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6304, allocations: 0 / 1.517 GB, free: 6.816 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6304, allocations: 0 / 1.517 GB, free: 6.816 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.6304, allocations: 0 / 1.517 GB, free: 6.816 MB / 1.217 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.003567/0.6339, allocations: 1.666 MB / 1.519 GB, free: 5.09 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.634, allocations: 12.92 kB / 1.519 GB, free: 5.078 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.6341, allocations: 118.5 kB / 1.519 GB, free: 4.953 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002845/0.637, allocations: 0.5377 MB / 1.519 GB, free: 4.414 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/0.6394, allocations: 1.05 MB / 1.52 GB, free: 3.316 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.94e-05/0.6394, allocations: 49.31 kB / 1.52 GB, free: 3.27 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.6395, allocations: 68 kB / 1.52 GB, free: 3.203 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/0.6419, allocations: 1.105 MB / 1.521 GB, free: 2.07 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.6419, allocations: 4 kB / 1.521 GB, free: 2.066 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-05/0.642, allocations: 24 kB / 1.521 GB, free: 2.043 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/0.642, allocations: 41.3 kB / 1.522 GB, free: 2.004 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002977/0.645, allocations: 1.157 MB / 1.523 GB, free: 0.8477 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.006099/0.6511, allocations: 3.167 MB / 1.526 GB, free: 13.6 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.6528, allocations: 0.6489 MB / 1.526 GB, free: 12.95 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007932/0.6536, allocations: 403.3 kB / 1.527 GB, free: 12.55 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.6547, allocations: 1.017 MB / 1.528 GB, free: 11.31 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.6557, allocations: 0.5182 MB / 1.528 GB, free: 10.77 MB / 1.232 GB Notification: Performance of pre-optimization done (n=57): time 2.355e-06/0.6558, allocations: 0 / 1.528 GB, free: 10.77 MB / 1.232 GB Notification: Performance of matching and sorting (n=57): time 0.003144/0.6589, allocations: 1.229 MB / 1.529 GB, free: 9.527 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.671e-05/0.659, allocations: 144.8 kB / 1.53 GB, free: 9.355 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.6609, allocations: 1.176 MB / 1.531 GB, free: 8.164 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 9.191e-05/0.661, allocations: 41.7 kB / 1.531 GB, free: 8.117 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.6614, allocations: 449.8 kB / 1.531 GB, free: 7.672 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.6616, allocations: 198.3 kB / 1.531 GB, free: 7.477 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/0.6619, allocations: 150.1 kB / 1.532 GB, free: 7.32 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.662, allocations: 334 kB / 1.532 GB, free: 6.988 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.6632, allocations: 432.9 kB / 1.532 GB, free: 6.566 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/0.6646, allocations: 0.5938 MB / 1.533 GB, free: 5.926 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002/0.6666, allocations: 0.9262 MB / 1.534 GB, free: 4.945 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.6666, allocations: 8 kB / 1.534 GB, free: 4.938 MB / 1.232 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003034/0.6697, allocations: 1.202 MB / 1.535 GB, free: 3.723 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.438e-05/0.6697, allocations: 40.3 kB / 1.535 GB, free: 3.68 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.6697, allocations: 4 kB / 1.535 GB, free: 3.676 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.6698, allocations: 4.281 kB / 1.535 GB, free: 3.672 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008984/0.6707, allocations: 195.7 kB / 1.535 GB, free: 3.48 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.6707, allocations: 11.98 kB / 1.535 GB, free: 3.469 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.6721, allocations: 239.2 kB / 1.535 GB, free: 3.234 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.651e-05/0.6722, allocations: 35.97 kB / 1.535 GB, free: 3.199 MB / 1.232 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.0005069/0.6727, allocations: 323.3 kB / 1.536 GB, free: 2.867 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.6729, allocations: 127.2 kB / 1.536 GB, free: 2.742 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/0.675, allocations: 0.9935 MB / 1.537 GB, free: 1.746 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.675, allocations: 15.94 kB / 1.537 GB, free: 1.73 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.994e-06/0.675, allocations: 0 / 1.537 GB, free: 1.73 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.675, allocations: 7.984 kB / 1.537 GB, free: 1.723 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005093/0.6801, allocations: 3.166 MB / 1.54 GB, free: 14.4 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.6802, allocations: 8 kB / 1.54 GB, free: 14.39 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/0.6807, allocations: 120.2 kB / 1.54 GB, free: 14.28 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/0.6807, allocations: 8 kB / 1.54 GB, free: 14.27 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.964e-05/0.6808, allocations: 27.98 kB / 1.54 GB, free: 14.24 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/0.6808, allocations: 11.94 kB / 1.54 GB, free: 14.23 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/0.6808, allocations: 12.45 kB / 1.54 GB, free: 14.22 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/0.6832, allocations: 1.357 MB / 1.541 GB, free: 12.74 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008016/0.684, allocations: 336 kB / 1.542 GB, free: 12.39 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/0.6842, allocations: 27.92 kB / 1.542 GB, free: 12.37 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.6852, allocations: 99.91 kB / 1.542 GB, free: 12.27 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.6854, allocations: 67.73 kB / 1.542 GB, free: 12.2 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.76e-05/0.6855, allocations: 43.97 kB / 1.542 GB, free: 12.16 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001575/0.687, allocations: 0.8482 MB / 1.543 GB, free: 11.3 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.687, allocations: 0 / 1.543 GB, free: 11.3 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001218/0.6882, allocations: 299.6 kB / 1.543 GB, free: 11.01 MB / 1.248 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.003483/0.6917, allocations: 2.146 MB / 1.545 GB, free: 8.754 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002342/0.6941, allocations: 0.9704 MB / 1.546 GB, free: 7.77 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.6941, allocations: 0 / 1.546 GB, free: 7.77 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0009021/0.695, allocations: 480.8 kB / 1.547 GB, free: 7.289 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/0.6976, allocations: 0.5482 MB / 1.547 GB, free: 6.746 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/0.7142, allocations: 9.4 MB / 1.556 GB, free: 12.95 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007423/0.715, allocations: 1.077 MB / 1.557 GB, free: 11.83 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001054/0.716, allocations: 271.9 kB / 1.558 GB, free: 11.57 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005219/0.7165, allocations: 359.3 kB / 1.558 GB, free: 11.21 MB / 1.264 GB Notification: Performance of SimCode: time 1.353e-06/0.7165, allocations: 0 / 1.558 GB, free: 11.21 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06763/0.7842, allocations: 31.93 MB / 1.589 GB, free: 11.67 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.8, allocations: 8.547 kB / 1.589 GB, free: 11.67 MB / 1.295 GB " [Timeout remaining time 289] (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_2/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: 18.131428859196603]