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.001423/0.001423, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001833/0.001833, allocations: 211.3 kB / 22.24 MB, free: 4.859 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.797 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.747/2.747, allocations: 476 MB / 0.7699 GB, free: 4.734 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.002163/0.002163, allocations: 69.8 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3328, allocations: 170 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2281/0.5608, allocations: 171.9 MB / 1.45 GB, free: 15.9 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01258/0.5734, allocations: 6.558 MB / 1.457 GB, free: 9.332 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/0.5754, allocations: 67.38 kB / 1.457 GB, free: 9.266 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.5777, allocations: 0.687 MB / 1.458 GB, free: 8.574 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007281/0.585, allocations: 2.416 MB / 1.46 GB, free: 6.148 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.5888, allocations: 1.463 MB / 1.461 GB, free: 4.703 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005041/0.5938, allocations: 3.013 MB / 1.464 GB, free: 1.68 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.5957, allocations: 0.701 MB / 1.465 GB, free: 0.9648 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003727/0.5994, allocations: 1.184 MB / 1.466 GB, free: 15.78 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002434/0.6019, allocations: 0.8255 MB / 1.467 GB, free: 14.96 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0004679/0.6023, allocations: 100 kB / 1.467 GB, free: 14.86 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004186/0.6065, allocations: 1.691 MB / 1.469 GB, free: 13.17 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000761/0.6073, allocations: 378.7 kB / 1.469 GB, free: 12.8 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001368/0.6087, allocations: 485.7 kB / 1.47 GB, free: 12.32 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005568/0.6142, allocations: 2.34 MB / 1.472 GB, free: 9.973 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6142, allocations: 0 / 1.472 GB, free: 9.973 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6142, allocations: 0 / 1.472 GB, free: 9.973 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.571e-05/0.6143, allocations: 0 / 1.472 GB, free: 9.973 MB / 1.17 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.003924/0.6182, allocations: 1.59 MB / 1.473 GB, free: 8.34 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.6183, allocations: 12.03 kB / 1.473 GB, free: 8.328 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/0.6184, allocations: 118.5 kB / 1.473 GB, free: 8.203 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002914/0.6213, allocations: 0.5338 MB / 1.474 GB, free: 7.668 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/0.6238, allocations: 0.9702 MB / 1.475 GB, free: 6.668 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.158e-05/0.6238, allocations: 61.31 kB / 1.475 GB, free: 6.609 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.624, allocations: 64 kB / 1.475 GB, free: 6.547 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/0.6266, allocations: 1.242 MB / 1.476 GB, free: 5.246 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.6266, allocations: 0 / 1.476 GB, free: 5.246 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.482e-05/0.6267, allocations: 28 kB / 1.476 GB, free: 5.219 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.352e-05/0.6267, allocations: 33.3 kB / 1.476 GB, free: 5.188 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003196/0.6299, allocations: 1.19 MB / 1.477 GB, free: 3.992 MB / 1.17 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.006182/0.6361, allocations: 2.887 MB / 1.48 GB, free: 1.027 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.6379, allocations: 0.6818 MB / 1.481 GB, free: 340 kB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008861/0.6388, allocations: 429.9 kB / 1.481 GB, free: 15.9 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005209/0.6393, allocations: 136.3 kB / 1.482 GB, free: 15.77 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001239/0.6406, allocations: 0.6394 MB / 1.482 GB, free: 15.07 MB / 1.186 GB Notification: Performance of pre-optimization done (n=57): time 2.515e-06/0.6406, allocations: 0 / 1.482 GB, free: 15.07 MB / 1.186 GB Notification: Performance of matching and sorting (n=57): time 0.00335/0.6439, allocations: 1.284 MB / 1.483 GB, free: 13.77 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.644, allocations: 148.8 kB / 1.484 GB, free: 13.6 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/0.6463, allocations: 1.184 MB / 1.485 GB, free: 12.4 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.6464, allocations: 37.7 kB / 1.485 GB, free: 12.36 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004732/0.6469, allocations: 445.8 kB / 1.485 GB, free: 11.91 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.6471, allocations: 198.3 kB / 1.485 GB, free: 11.72 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003124/0.6475, allocations: 146.2 kB / 1.485 GB, free: 11.57 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.6476, allocations: 330 kB / 1.486 GB, free: 11.24 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.649, allocations: 474.7 kB / 1.486 GB, free: 10.77 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.6508, allocations: 0.9706 MB / 1.487 GB, free: 9.656 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/0.6529, allocations: 0.941 MB / 1.488 GB, free: 8.66 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.6529, allocations: 0 / 1.488 GB, free: 8.66 MB / 1.186 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003424/0.6564, allocations: 1.237 MB / 1.489 GB, free: 7.398 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 6.519e-05/0.6564, allocations: 47.88 kB / 1.489 GB, free: 7.348 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.6564, allocations: 0 / 1.489 GB, free: 7.348 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.6565, allocations: 8 kB / 1.489 GB, free: 7.34 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009706/0.6574, allocations: 188 kB / 1.49 GB, free: 7.156 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.6575, allocations: 11.94 kB / 1.49 GB, free: 7.145 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.6591, allocations: 251.1 kB / 1.49 GB, free: 6.898 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-05/0.6592, allocations: 31.98 kB / 1.49 GB, free: 6.867 MB / 1.186 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.0005732/0.6598, allocations: 327.9 kB / 1.49 GB, free: 6.531 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/0.6601, allocations: 127.2 kB / 1.49 GB, free: 6.406 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002526/0.6626, allocations: 1.036 MB / 1.491 GB, free: 5.359 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.6626, allocations: 7.984 kB / 1.491 GB, free: 5.352 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.6626, allocations: 7.938 kB / 1.491 GB, free: 5.344 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.6626, allocations: 0 / 1.491 GB, free: 5.344 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005493/0.6681, allocations: 3.007 MB / 1.494 GB, free: 2.184 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.6681, allocations: 8 kB / 1.494 GB, free: 2.176 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.6687, allocations: 120 kB / 1.494 GB, free: 2.059 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/0.6687, allocations: 8 kB / 1.494 GB, free: 2.051 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.6688, allocations: 27.98 kB / 1.494 GB, free: 2.023 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.476e-05/0.6688, allocations: 11.94 kB / 1.494 GB, free: 2.012 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/0.6688, allocations: 15.88 kB / 1.494 GB, free: 1.996 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/0.6713, allocations: 1.399 MB / 1.496 GB, free: 480 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007143/0.672, allocations: 255 kB / 1.496 GB, free: 224 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.6722, allocations: 23.98 kB / 1.496 GB, free: 200 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.6733, allocations: 103.9 kB / 1.496 GB, free: 96 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.6734, allocations: 63.73 kB / 1.496 GB, free: 32 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.6735, allocations: 40.02 kB / 1.496 GB, free: 15.99 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001627/0.6751, allocations: 0.8481 MB / 1.497 GB, free: 15.14 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6751, allocations: 4 kB / 1.497 GB, free: 15.13 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00114/0.6763, allocations: 303.6 kB / 1.497 GB, free: 14.84 MB / 1.201 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.003507/0.6798, allocations: 2.164 MB / 1.499 GB, free: 12.55 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00282/0.6826, allocations: 1.036 MB / 1.501 GB, free: 11.49 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.6826, allocations: 0 / 1.501 GB, free: 11.49 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.6836, allocations: 0.5103 MB / 1.501 GB, free: 10.96 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002833/0.6865, allocations: 0.5479 MB / 1.502 GB, free: 10.43 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/0.7049, allocations: 9.576 MB / 1.511 GB, free: 424 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/0.7055, allocations: 486.7 kB / 1.511 GB, free: 15.9 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001168/0.7067, allocations: 274.5 kB / 1.512 GB, free: 15.63 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006143/0.7073, allocations: 359.2 kB / 1.512 GB, free: 15.29 MB / 1.217 GB Notification: Performance of SimCode: time 1.293e-06/0.7073, allocations: 0 / 1.512 GB, free: 15.29 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08067/0.788, allocations: 34.54 MB / 1.546 GB, free: 13.34 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.7, allocations: 3.938 kB / 1.546 GB, free: 13.34 MB / 1.248 GB " [Timeout remaining time 286] (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: 20.390196559019387]