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.001376/0.001377, allocations: 107 kB / 16.4 MB, free: 6.512 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.001357/0.001357, allocations: 196.5 kB / 19.35 MB, free: 3.73 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.486/1.486, allocations: 222.9 MB / 245.1 MB, free: 15.01 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 2.946/2.946, allocations: 489 MB / 0.7678 GB, free: 4 kB / 0.6231 GB " [Timeout remaining time 176] 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.00201/0.002011, allocations: 67.88 kB / 1.101 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8791/0.8811, allocations: 163.8 MB / 1.261 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2238/1.105, allocations: 194.1 MB / 1.451 GB, free: 4.324 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0117/1.117, allocations: 6.952 MB / 1.457 GB, free: 13.36 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/1.119, allocations: 43.69 kB / 1.457 GB, free: 13.32 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002171/1.121, allocations: 0.683 MB / 1.458 GB, free: 12.63 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006759/1.128, allocations: 2.334 MB / 1.46 GB, free: 10.29 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003638/1.131, allocations: 1.432 MB / 1.462 GB, free: 8.875 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004539/1.136, allocations: 2.978 MB / 1.465 GB, free: 5.895 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/1.137, allocations: 0.8995 MB / 1.466 GB, free: 4.98 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004287/1.142, allocations: 1.538 MB / 1.467 GB, free: 3.441 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/1.143, allocations: 0.7936 MB / 1.468 GB, free: 2.652 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002528/1.144, allocations: 104 kB / 1.468 GB, free: 2.551 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004288/1.148, allocations: 2.035 MB / 1.47 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005039/1.149, allocations: 366.8 kB / 1.47 GB, free: 156 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008412/1.149, allocations: 0.5832 MB / 1.471 GB, free: 15.56 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004525/1.154, allocations: 2.398 MB / 1.473 GB, free: 13.16 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.154, allocations: 0 / 1.473 GB, free: 13.16 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.354e-06/1.154, allocations: 0 / 1.473 GB, free: 13.16 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.387e-05/1.154, allocations: 0 / 1.473 GB, free: 13.16 MB / 1.186 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.004444/1.158, allocations: 1.685 MB / 1.475 GB, free: 11.41 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/1.159, allocations: 8.031 kB / 1.475 GB, free: 11.41 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000169/1.159, allocations: 114.5 kB / 1.475 GB, free: 11.29 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/1.162, allocations: 0.5377 MB / 1.475 GB, free: 10.75 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/1.164, allocations: 1.042 MB / 1.476 GB, free: 9.656 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.431e-05/1.164, allocations: 57.31 kB / 1.477 GB, free: 9.602 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/1.164, allocations: 64 kB / 1.477 GB, free: 9.539 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/1.167, allocations: 1.112 MB / 1.478 GB, free: 8.402 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/1.167, allocations: 0 / 1.478 GB, free: 8.402 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.025e-05/1.167, allocations: 28 kB / 1.478 GB, free: 8.375 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.701e-05/1.167, allocations: 33.3 kB / 1.478 GB, free: 8.344 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00323/1.17, allocations: 1.164 MB / 1.479 GB, free: 7.176 MB / 1.186 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.006434/1.177, allocations: 3.175 MB / 1.482 GB, free: 3.922 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/1.179, allocations: 0.684 MB / 1.483 GB, free: 3.227 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008946/1.18, allocations: 434.1 kB / 1.483 GB, free: 2.797 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/1.181, allocations: 1.013 MB / 1.484 GB, free: 1.562 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0012/1.182, allocations: 0.5182 MB / 1.485 GB, free: 1.023 MB / 1.186 GB Notification: Performance of pre-optimization done (n=57): time 2.845e-06/1.182, allocations: 0 / 1.485 GB, free: 1.023 MB / 1.186 GB Notification: Performance of matching and sorting (n=57): time 0.003361/1.186, allocations: 1.229 MB / 1.486 GB, free: 15.78 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/1.186, allocations: 140.8 kB / 1.486 GB, free: 15.61 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/1.188, allocations: 1.18 MB / 1.487 GB, free: 14.42 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/1.188, allocations: 37.7 kB / 1.487 GB, free: 14.38 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004512/1.189, allocations: 445.8 kB / 1.487 GB, free: 13.93 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/1.189, allocations: 194.3 kB / 1.488 GB, free: 13.74 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003024/1.189, allocations: 142.1 kB / 1.488 GB, free: 13.6 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001566/1.189, allocations: 334 kB / 1.488 GB, free: 13.27 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/1.191, allocations: 436.9 kB / 1.489 GB, free: 12.84 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/1.192, allocations: 0.5976 MB / 1.489 GB, free: 12.19 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002245/1.194, allocations: 0.9262 MB / 1.49 GB, free: 11.21 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/1.194, allocations: 0 / 1.49 GB, free: 11.21 MB / 1.201 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003393/1.198, allocations: 1.202 MB / 1.491 GB, free: 9.996 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.016e-05/1.198, allocations: 37.69 kB / 1.491 GB, free: 9.953 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/1.198, allocations: 7.984 kB / 1.491 GB, free: 9.945 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/1.198, allocations: 4.281 kB / 1.491 GB, free: 9.941 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009443/1.199, allocations: 195.7 kB / 1.491 GB, free: 9.75 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/1.199, allocations: 8 kB / 1.491 GB, free: 9.742 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/1.2, allocations: 251.1 kB / 1.492 GB, free: 9.496 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/1.201, allocations: 35.97 kB / 1.492 GB, free: 9.461 MB / 1.201 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.0005985/1.201, allocations: 323.2 kB / 1.492 GB, free: 9.129 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/1.201, allocations: 119.2 kB / 1.492 GB, free: 9.012 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/1.204, allocations: 0.9939 MB / 1.493 GB, free: 8.008 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/1.204, allocations: 11.94 kB / 1.493 GB, free: 7.996 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/1.204, allocations: 4 kB / 1.493 GB, free: 7.992 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/1.204, allocations: 7.969 kB / 1.493 GB, free: 7.984 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005281/1.209, allocations: 3.174 MB / 1.496 GB, free: 4.656 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/1.209, allocations: 8 kB / 1.496 GB, free: 4.648 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/1.21, allocations: 120.1 kB / 1.496 GB, free: 4.531 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.467e-05/1.21, allocations: 12 kB / 1.496 GB, free: 4.52 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/1.21, allocations: 27.98 kB / 1.496 GB, free: 4.492 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.291e-05/1.21, allocations: 11.94 kB / 1.496 GB, free: 4.48 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/1.21, allocations: 11.94 kB / 1.496 GB, free: 4.469 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/1.212, allocations: 1.342 MB / 1.498 GB, free: 3.004 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006011/1.213, allocations: 335.9 kB / 1.498 GB, free: 2.656 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/1.213, allocations: 27.98 kB / 1.498 GB, free: 2.629 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/1.214, allocations: 103.9 kB / 1.498 GB, free: 2.527 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/1.214, allocations: 63.7 kB / 1.498 GB, free: 2.465 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-05/1.214, allocations: 43.97 kB / 1.498 GB, free: 2.422 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001598/1.216, allocations: 0.8482 MB / 1.499 GB, free: 1.566 MB / 1.201 GB Notification: Performance of sort global known variables: time 4.61e-07/1.216, allocations: 0 / 1.499 GB, free: 1.566 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00121/1.217, allocations: 299.6 kB / 1.499 GB, free: 1.273 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.003884/1.221, allocations: 2.139 MB / 1.501 GB, free: 15.03 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002708/1.224, allocations: 1.021 MB / 1.502 GB, free: 14 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.224, allocations: 0 / 1.502 GB, free: 14 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/1.225, allocations: 0.5124 MB / 1.503 GB, free: 13.47 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/1.228, allocations: 0.5495 MB / 1.504 GB, free: 12.93 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/1.246, allocations: 9.407 MB / 1.513 GB, free: 3.129 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007597/1.247, allocations: 1.069 MB / 1.514 GB, free: 2.023 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001079/1.248, allocations: 273.5 kB / 1.514 GB, free: 1.758 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/1.248, allocations: 363.3 kB / 1.514 GB, free: 1.402 MB / 1.217 GB Notification: Performance of SimCode: time 1.072e-06/1.248, allocations: 0 / 1.514 GB, free: 1.402 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06991/1.318, allocations: 31.77 MB / 1.545 GB, free: 2.008 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.89, allocations: 16.11 kB / 1.545 GB, free: 1.996 MB / 1.248 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_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.258237587986514]