Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001274/0.001274, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.001336/0.001336, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.375/1.375, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.984/2.984, allocations: 0.49 GB / 0.7916 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_12_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.00195/0.00195, allocations: 74.27 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2988, allocations: 176.1 MB / 1.321 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2176/0.5164, allocations: 197.8 MB / 1.514 GB, free: 12.81 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01125/0.5276, allocations: 6.956 MB / 1.521 GB, free: 5.84 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002051/0.5297, allocations: 71.38 kB / 1.521 GB, free: 5.77 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002042/0.5317, allocations: 0.7064 MB / 1.521 GB, free: 5.059 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.006294/0.538, allocations: 2.439 MB / 1.524 GB, free: 2.609 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003575/0.5416, allocations: 1.427 MB / 1.525 GB, free: 1.203 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004363/0.5459, allocations: 2.99 MB / 1.528 GB, free: 14.2 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.5472, allocations: 0.7395 MB / 1.529 GB, free: 13.45 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003827/0.5511, allocations: 1.6 MB / 1.53 GB, free: 11.86 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.5526, allocations: 0.8253 MB / 1.531 GB, free: 11.03 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.5528, allocations: 100 kB / 1.531 GB, free: 10.93 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004056/0.5568, allocations: 2.14 MB / 1.533 GB, free: 8.789 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000466/0.5573, allocations: 382.6 kB / 1.534 GB, free: 8.414 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007375/0.558, allocations: 0.5831 MB / 1.534 GB, free: 7.828 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004037/0.5621, allocations: 2.394 MB / 1.537 GB, free: 5.426 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5621, allocations: 0 / 1.537 GB, free: 5.426 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5621, allocations: 0 / 1.537 GB, free: 5.426 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.5621, allocations: 4 kB / 1.537 GB, free: 5.422 MB / 1.232 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.00354/0.5656, allocations: 1.669 MB / 1.538 GB, free: 3.691 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.5657, allocations: 15.98 kB / 1.538 GB, free: 3.676 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001596/0.5658, allocations: 122.5 kB / 1.538 GB, free: 3.547 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003059/0.5689, allocations: 0.5377 MB / 1.539 GB, free: 3.008 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.5711, allocations: 1.054 MB / 1.54 GB, free: 1.91 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.167e-05/0.5712, allocations: 49.31 kB / 1.54 GB, free: 1.859 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.5713, allocations: 68 kB / 1.54 GB, free: 1.793 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/0.5737, allocations: 1.116 MB / 1.541 GB, free: 0.6523 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.5737, allocations: 0 / 1.541 GB, free: 0.6523 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-05/0.5738, allocations: 28 kB / 1.541 GB, free: 0.625 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.002e-05/0.5739, allocations: 33.3 kB / 1.541 GB, free: 0.5938 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00313/0.577, allocations: 1.164 MB / 1.542 GB, free: 15.42 MB / 1.248 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.005657/0.5827, allocations: 3.175 MB / 1.546 GB, free: 12.17 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.5844, allocations: 0.6533 MB / 1.546 GB, free: 11.5 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008028/0.5852, allocations: 394.2 kB / 1.547 GB, free: 11.11 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000968/0.5861, allocations: 1.017 MB / 1.548 GB, free: 9.875 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.5872, allocations: 0.5104 MB / 1.548 GB, free: 9.336 MB / 1.248 GB Notification: Performance of pre-optimization done (n=57): time 2.054e-06/0.5872, allocations: 0 / 1.548 GB, free: 9.336 MB / 1.248 GB Notification: Performance of matching and sorting (n=57): time 0.003037/0.5902, allocations: 1.229 MB / 1.549 GB, free: 8.098 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.454e-05/0.5903, allocations: 144.8 kB / 1.549 GB, free: 7.926 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/0.5923, allocations: 1.184 MB / 1.551 GB, free: 6.727 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 7.819e-05/0.5923, allocations: 37.7 kB / 1.551 GB, free: 6.684 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/0.5927, allocations: 441.8 kB / 1.551 GB, free: 6.246 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.5929, allocations: 198.3 kB / 1.551 GB, free: 6.051 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/0.5932, allocations: 150.1 kB / 1.551 GB, free: 5.898 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5933, allocations: 326 kB / 1.552 GB, free: 5.574 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.5946, allocations: 444.9 kB / 1.552 GB, free: 5.141 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.5961, allocations: 0.5898 MB / 1.553 GB, free: 4.504 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.5982, allocations: 0.9383 MB / 1.554 GB, free: 3.508 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5982, allocations: 0 / 1.554 GB, free: 3.508 MB / 1.248 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003188/0.6014, allocations: 1.194 MB / 1.555 GB, free: 2.301 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 5.007e-05/0.6014, allocations: 41.75 kB / 1.555 GB, free: 2.254 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.6014, allocations: 4 kB / 1.555 GB, free: 2.25 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.6014, allocations: 11.94 kB / 1.555 GB, free: 2.238 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009602/0.6024, allocations: 183.7 kB / 1.555 GB, free: 2.059 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.6024, allocations: 11.94 kB / 1.555 GB, free: 2.047 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.6039, allocations: 247.1 kB / 1.555 GB, free: 1.805 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.181e-05/0.604, allocations: 35.97 kB / 1.555 GB, free: 1.77 MB / 1.248 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.0004738/0.6044, allocations: 333 kB / 1.556 GB, free: 1.43 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.6046, allocations: 123.2 kB / 1.556 GB, free: 1.309 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.6068, allocations: 0.9984 MB / 1.557 GB, free: 312 kB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.6068, allocations: 7.938 kB / 1.557 GB, free: 304 kB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.6068, allocations: 4 kB / 1.557 GB, free: 300 kB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.6069, allocations: 3.984 kB / 1.557 GB, free: 296 kB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004882/0.6117, allocations: 3.17 MB / 1.56 GB, free: 12.96 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.6117, allocations: 4.094 kB / 1.56 GB, free: 12.96 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/0.6123, allocations: 119.8 kB / 1.56 GB, free: 12.84 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.517e-05/0.6124, allocations: 12 kB / 1.56 GB, free: 12.83 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.657e-05/0.6124, allocations: 23.98 kB / 1.56 GB, free: 12.8 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/0.6124, allocations: 12 kB / 1.56 GB, free: 12.79 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.6124, allocations: 19.88 kB / 1.56 GB, free: 12.77 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.6148, allocations: 1.338 MB / 1.561 GB, free: 11.32 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000523/0.6153, allocations: 336 kB / 1.562 GB, free: 10.97 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.6155, allocations: 27.98 kB / 1.562 GB, free: 10.94 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.6166, allocations: 99.91 kB / 1.562 GB, free: 10.84 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.6167, allocations: 63.7 kB / 1.562 GB, free: 10.78 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.463e-05/0.6167, allocations: 35.97 kB / 1.562 GB, free: 10.75 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001546/0.6183, allocations: 0.8521 MB / 1.563 GB, free: 9.887 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6183, allocations: 0 / 1.563 GB, free: 9.887 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001054/0.6193, allocations: 303.6 kB / 1.563 GB, free: 9.59 MB / 1.264 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.003039/0.6224, allocations: 2.133 MB / 1.565 GB, free: 7.34 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002413/0.6248, allocations: 0.9781 MB / 1.566 GB, free: 6.344 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6248, allocations: 0 / 1.566 GB, free: 6.344 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0009359/0.6257, allocations: 486.6 kB / 1.566 GB, free: 5.859 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/0.6283, allocations: 0.5503 MB / 1.567 GB, free: 5.316 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.6446, allocations: 9.412 MB / 1.576 GB, free: 11.5 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007088/0.6453, allocations: 1.069 MB / 1.577 GB, free: 10.4 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009277/0.6463, allocations: 268.5 kB / 1.577 GB, free: 10.14 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005464/0.6468, allocations: 363.3 kB / 1.578 GB, free: 9.785 MB / 1.279 GB Notification: Performance of SimCode: time 7.31e-07/0.6468, allocations: 4 kB / 1.578 GB, free: 9.781 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.631/1.278, allocations: 31.87 MB / 1.609 GB, free: 278.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/11.51, allocations: 2.031 kB / 1.609 GB, free: 278.8 MB / 1.295 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.676260777981952]