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.001481/0.001481, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001606/0.001606, allocations: 214 kB / 22.24 MB, free: 5.262 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.326/1.326, allocations: 230.6 MB / 256 MB, free: 7.785 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.985/2.985, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.001952/0.001952, allocations: 66.23 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2939, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1977/0.4916, allocations: 171.9 MB / 1.531 GB, free: 1.488 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01034/0.5019, allocations: 6.56 MB / 1.538 GB, free: 10.91 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.5031, allocations: 63.44 kB / 1.538 GB, free: 10.85 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.5048, allocations: 0.6947 MB / 1.538 GB, free: 10.15 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005289/0.51, allocations: 2.408 MB / 1.541 GB, free: 7.734 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003083/0.5131, allocations: 1.453 MB / 1.542 GB, free: 6.301 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003726/0.5168, allocations: 3.017 MB / 1.545 GB, free: 3.277 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.518, allocations: 0.6972 MB / 1.546 GB, free: 2.566 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.5215, allocations: 1.638 MB / 1.547 GB, free: 0.9297 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.5229, allocations: 0.7993 MB / 1.548 GB, free: 136 kB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.5232, allocations: 100 kB / 1.548 GB, free: 36 kB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003018/0.5262, allocations: 1.66 MB / 1.55 GB, free: 14.37 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.000416/0.5266, allocations: 374.7 kB / 1.55 GB, free: 14 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0006225/0.5272, allocations: 485.7 kB / 1.551 GB, free: 13.53 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003263/0.5305, allocations: 2.348 MB / 1.553 GB, free: 11.17 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5305, allocations: 0 / 1.553 GB, free: 11.17 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5305, allocations: 0 / 1.553 GB, free: 11.17 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.697e-05/0.5305, allocations: 0 / 1.553 GB, free: 11.17 MB / 1.248 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.003508/0.534, allocations: 1.602 MB / 1.555 GB, free: 9.527 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.5341, allocations: 8.031 kB / 1.555 GB, free: 9.52 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.5342, allocations: 114.5 kB / 1.555 GB, free: 9.398 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00276/0.537, allocations: 0.5416 MB / 1.555 GB, free: 8.855 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.5392, allocations: 0.9624 MB / 1.556 GB, free: 7.859 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.231e-05/0.5392, allocations: 57.31 kB / 1.556 GB, free: 7.805 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.5394, allocations: 64 kB / 1.556 GB, free: 7.742 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.5417, allocations: 1.246 MB / 1.558 GB, free: 6.441 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.5417, allocations: 3.938 kB / 1.558 GB, free: 6.438 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.879e-05/0.5418, allocations: 31.98 kB / 1.558 GB, free: 6.406 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.284e-05/0.5419, allocations: 29.31 kB / 1.558 GB, free: 6.379 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00294/0.5448, allocations: 1.193 MB / 1.559 GB, free: 5.176 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.005341/0.5501, allocations: 2.879 MB / 1.562 GB, free: 2.227 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.5518, allocations: 0.6701 MB / 1.562 GB, free: 1.543 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007914/0.5526, allocations: 425.7 kB / 1.563 GB, free: 1.121 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004645/0.553, allocations: 136.3 kB / 1.563 GB, free: 0.9883 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.5541, allocations: 0.6433 MB / 1.563 GB, free: 292 kB / 1.248 GB Notification: Performance of pre-optimization done (n=57): time 2.154e-06/0.5541, allocations: 0 / 1.563 GB, free: 292 kB / 1.248 GB Notification: Performance of matching and sorting (n=57): time 0.002922/0.557, allocations: 1.291 MB / 1.565 GB, free: 14.97 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/0.5571, allocations: 148.8 kB / 1.565 GB, free: 14.79 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.5589, allocations: 1.18 MB / 1.566 GB, free: 13.6 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.429e-05/0.5589, allocations: 41.7 kB / 1.566 GB, free: 13.55 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.000381/0.5593, allocations: 441.8 kB / 1.566 GB, free: 13.11 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.5595, allocations: 198.3 kB / 1.567 GB, free: 12.92 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.5597, allocations: 146.2 kB / 1.567 GB, free: 12.77 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5599, allocations: 330 kB / 1.567 GB, free: 12.44 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.5611, allocations: 474.7 kB / 1.568 GB, free: 11.97 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.5627, allocations: 0.9804 MB / 1.568 GB, free: 10.85 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.5647, allocations: 0.9332 MB / 1.569 GB, free: 9.859 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.5647, allocations: 4 kB / 1.569 GB, free: 9.855 MB / 1.264 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002922/0.5676, allocations: 1.242 MB / 1.571 GB, free: 8.594 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.479e-05/0.5676, allocations: 41.7 kB / 1.571 GB, free: 8.547 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5676, allocations: 0 / 1.571 GB, free: 8.547 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.5677, allocations: 8 kB / 1.571 GB, free: 8.539 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008833/0.5685, allocations: 187.9 kB / 1.571 GB, free: 8.355 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.5686, allocations: 15.86 kB / 1.571 GB, free: 8.34 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.5699, allocations: 239.2 kB / 1.571 GB, free: 8.105 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.064e-05/0.5699, allocations: 39.97 kB / 1.571 GB, free: 8.066 MB / 1.264 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.0004099/0.5703, allocations: 328.5 kB / 1.571 GB, free: 7.73 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.5705, allocations: 119.2 kB / 1.572 GB, free: 7.613 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.5726, allocations: 1.038 MB / 1.573 GB, free: 6.559 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.5726, allocations: 4 kB / 1.573 GB, free: 6.555 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.5726, allocations: 7.938 kB / 1.573 GB, free: 6.547 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.5726, allocations: 3.984 kB / 1.573 GB, free: 6.543 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004707/0.5773, allocations: 3.015 MB / 1.576 GB, free: 3.375 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.5773, allocations: 11.98 kB / 1.576 GB, free: 3.363 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005581/0.5779, allocations: 120 kB / 1.576 GB, free: 3.246 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.5779, allocations: 8 kB / 1.576 GB, free: 3.238 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.483e-05/0.578, allocations: 27.98 kB / 1.576 GB, free: 3.211 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.578, allocations: 11.94 kB / 1.576 GB, free: 3.199 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/0.578, allocations: 11.94 kB / 1.576 GB, free: 3.188 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.5801, allocations: 1.395 MB / 1.577 GB, free: 1.672 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000538/0.5807, allocations: 254.9 kB / 1.577 GB, free: 1.422 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.5808, allocations: 20 kB / 1.577 GB, free: 1.402 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.5818, allocations: 103.9 kB / 1.577 GB, free: 1.301 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.5819, allocations: 59.75 kB / 1.577 GB, free: 1.242 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.471e-05/0.582, allocations: 43.97 kB / 1.578 GB, free: 1.199 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001385/0.5834, allocations: 0.8443 MB / 1.578 GB, free: 356 kB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5834, allocations: 3.938 kB / 1.578 GB, free: 352 kB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008938/0.5843, allocations: 299.6 kB / 1.579 GB, free: 52 kB / 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.002843/0.5871, allocations: 2.166 MB / 1.581 GB, free: 13.77 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002289/0.5894, allocations: 1.036 MB / 1.582 GB, free: 12.7 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.5894, allocations: 3.938 kB / 1.582 GB, free: 12.7 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0009405/0.5903, allocations: 0.5064 MB / 1.582 GB, free: 12.18 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/0.5928, allocations: 0.5499 MB / 1.583 GB, free: 11.63 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/0.6092, allocations: 9.58 MB / 1.592 GB, free: 1.617 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/0.6097, allocations: 486.6 kB / 1.593 GB, free: 1.105 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009962/0.6107, allocations: 276.5 kB / 1.593 GB, free: 0.8359 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005296/0.6112, allocations: 359.3 kB / 1.593 GB, free: 496 kB / 1.279 GB Notification: Performance of SimCode: time 1.002e-06/0.6112, allocations: 0 / 1.593 GB, free: 496 kB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5831/1.194, allocations: 34.52 MB / 1.627 GB, free: 240.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/12.36, allocations: 5 kB / 1.627 GB, free: 240.1 MB / 1.295 GB " [Timeout remaining time 288] (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: 18.48949313396588]