Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001265/0.001265, allocations: 107.8 kB / 16.45 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.001326/0.001326, 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.418/1.418, 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 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.531/2.531, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.88 kB / 1.056 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8939/0.8958, allocations: 160.7 MB / 1.213 GB, free: 3.887 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2346/1.13, allocations: 194.7 MB / 1.403 GB, free: 4.812 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01133/1.142, allocations: 6.958 MB / 1.41 GB, free: 13.84 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/1.143, allocations: 39.75 kB / 1.41 GB, free: 13.8 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001818/1.145, allocations: 0.7219 MB / 1.411 GB, free: 13.07 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005975/1.151, allocations: 2.442 MB / 1.413 GB, free: 10.62 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003369/1.155, allocations: 1.43 MB / 1.414 GB, free: 9.211 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004082/1.159, allocations: 2.998 MB / 1.417 GB, free: 6.203 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/1.16, allocations: 0.7396 MB / 1.418 GB, free: 5.449 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002401/1.162, allocations: 1.162 MB / 1.419 GB, free: 4.289 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/1.163, allocations: 0.8529 MB / 1.42 GB, free: 3.438 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001516/1.164, allocations: 96 kB / 1.42 GB, free: 3.344 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003934/1.168, allocations: 2.163 MB / 1.422 GB, free: 1.176 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003834/1.168, allocations: 370.8 kB / 1.423 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006077/1.169, allocations: 0.5908 MB / 1.423 GB, free: 224 kB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0034/1.172, allocations: 2.398 MB / 1.425 GB, free: 13.81 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/1.172, allocations: 4 kB / 1.425 GB, free: 13.81 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.232e-06/1.172, allocations: 0 / 1.425 GB, free: 13.81 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.439e-05/1.172, allocations: 0 / 1.425 GB, free: 13.81 MB / 1.139 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.003337/1.175, allocations: 1.673 MB / 1.427 GB, free: 12.07 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/1.175, allocations: 12.92 kB / 1.427 GB, free: 12.06 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/1.176, allocations: 114.5 kB / 1.427 GB, free: 11.94 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002819/1.178, allocations: 0.5416 MB / 1.428 GB, free: 11.4 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/1.181, allocations: 1.045 MB / 1.429 GB, free: 10.31 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.126e-05/1.181, allocations: 49.31 kB / 1.429 GB, free: 10.26 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/1.181, allocations: 68 kB / 1.429 GB, free: 10.2 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/1.183, allocations: 1.116 MB / 1.43 GB, free: 9.051 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/1.183, allocations: 0 / 1.43 GB, free: 9.051 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.417e-05/1.183, allocations: 28 kB / 1.43 GB, free: 9.023 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-05/1.183, allocations: 29.31 kB / 1.43 GB, free: 8.996 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002952/1.186, allocations: 1.168 MB / 1.431 GB, free: 7.828 MB / 1.139 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.00573/1.192, allocations: 3.163 MB / 1.434 GB, free: 4.586 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/1.194, allocations: 0.6614 MB / 1.435 GB, free: 3.918 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007944/1.194, allocations: 396.1 kB / 1.435 GB, free: 3.531 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009929/1.195, allocations: 1.021 MB / 1.436 GB, free: 2.289 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/1.196, allocations: 0.5143 MB / 1.437 GB, free: 1.746 MB / 1.139 GB Notification: Performance of pre-optimization done (n=57): time 2.314e-06/1.196, allocations: 0 / 1.437 GB, free: 1.746 MB / 1.139 GB Notification: Performance of matching and sorting (n=57): time 0.00297/1.199, allocations: 1.229 MB / 1.438 GB, free: 0.5078 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.681e-05/1.2, allocations: 144.8 kB / 1.438 GB, free: 344 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/1.201, allocations: 1.18 MB / 1.439 GB, free: 15.14 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.006e-05/1.201, allocations: 37.7 kB / 1.439 GB, free: 15.1 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/1.202, allocations: 445.8 kB / 1.44 GB, free: 14.66 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/1.202, allocations: 190.3 kB / 1.44 GB, free: 14.47 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002786/1.202, allocations: 158 kB / 1.44 GB, free: 14.31 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.203, allocations: 326 kB / 1.44 GB, free: 13.98 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/1.204, allocations: 444.9 kB / 1.441 GB, free: 13.55 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/1.205, allocations: 0.5937 MB / 1.441 GB, free: 12.91 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001989/1.207, allocations: 0.9262 MB / 1.442 GB, free: 11.93 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.207, allocations: 0 / 1.442 GB, free: 11.93 MB / 1.154 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003007/1.21, allocations: 1.198 MB / 1.443 GB, free: 10.71 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/1.21, allocations: 41.69 kB / 1.444 GB, free: 10.67 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.21, allocations: 4 kB / 1.444 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/1.21, allocations: 8 kB / 1.444 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009196/1.211, allocations: 187.8 kB / 1.444 GB, free: 10.47 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/1.211, allocations: 11.94 kB / 1.444 GB, free: 10.46 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/1.213, allocations: 249.3 kB / 1.444 GB, free: 10.22 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.193e-05/1.213, allocations: 31.98 kB / 1.444 GB, free: 10.19 MB / 1.154 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.0006556/1.213, allocations: 335.3 kB / 1.444 GB, free: 9.844 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/1.214, allocations: 119.2 kB / 1.444 GB, free: 9.727 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/1.216, allocations: 0.9973 MB / 1.445 GB, free: 8.723 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/1.216, allocations: 7.938 kB / 1.445 GB, free: 8.715 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.216, allocations: 4 kB / 1.445 GB, free: 8.711 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/1.216, allocations: 3.984 kB / 1.445 GB, free: 8.707 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005636/1.222, allocations: 3.167 MB / 1.448 GB, free: 5.383 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.222, allocations: 4 kB / 1.448 GB, free: 5.379 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/1.222, allocations: 123.8 kB / 1.449 GB, free: 5.258 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.808e-05/1.222, allocations: 16 kB / 1.449 GB, free: 5.242 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-05/1.222, allocations: 16 kB / 1.449 GB, free: 5.227 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.886e-05/1.222, allocations: 20.05 kB / 1.449 GB, free: 5.207 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/1.222, allocations: 15.88 kB / 1.449 GB, free: 5.191 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/1.225, allocations: 1.361 MB / 1.45 GB, free: 3.719 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007326/1.226, allocations: 340 kB / 1.45 GB, free: 3.367 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/1.226, allocations: 20 kB / 1.45 GB, free: 3.348 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/1.227, allocations: 103.9 kB / 1.45 GB, free: 3.246 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/1.227, allocations: 63.7 kB / 1.451 GB, free: 3.184 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-05/1.227, allocations: 35.97 kB / 1.451 GB, free: 3.148 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001512/1.228, allocations: 0.8521 MB / 1.451 GB, free: 2.289 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.228, allocations: 0 / 1.451 GB, free: 2.289 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001155/1.23, allocations: 303.6 kB / 1.452 GB, free: 1.992 MB / 1.154 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.00317/1.233, allocations: 2.127 MB / 1.454 GB, free: 15.75 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002319/1.235, allocations: 0.9665 MB / 1.455 GB, free: 14.77 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/1.235, allocations: 0 / 1.455 GB, free: 14.77 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009141/1.236, allocations: 488.7 kB / 1.455 GB, free: 14.28 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/1.239, allocations: 0.5533 MB / 1.456 GB, free: 13.74 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/1.255, allocations: 9.415 MB / 1.465 GB, free: 3.926 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/1.256, allocations: 1.061 MB / 1.466 GB, free: 2.832 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001039/1.257, allocations: 278 kB / 1.466 GB, free: 2.559 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005408/1.257, allocations: 365.2 kB / 1.467 GB, free: 2.203 MB / 1.17 GB Notification: Performance of SimCode: time 6.31e-07/1.257, allocations: 0 / 1.467 GB, free: 2.203 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06849/1.326, allocations: 31.91 MB / 1.498 GB, free: 2.574 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/12.01, allocations: 4.062 kB / 1.498 GB, free: 2.57 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.86410575080663]