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.001361/0.001361, allocations: 113 kB / 16.41 MB, free: 6.484 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.001377/0.001377, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.442/1.442, allocations: 222.9 MB / 245.1 MB, free: 15.03 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.653/2.653, allocations: 437.1 MB / 0.7171 GB, free: 4.07 MB / 0.5762 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.001951/0.001951, allocations: 59.91 kB / 1.027 GB, free: 12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8912/0.8932, allocations: 151.6 MB / 1.175 GB, free: 17.5 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.232/1.125, allocations: 194 MB / 1.364 GB, free: 6.438 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01229/1.138, allocations: 6.939 MB / 1.371 GB, free: 15.48 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002339/1.14, allocations: 47.69 kB / 1.371 GB, free: 15.43 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002463/1.143, allocations: 0.6947 MB / 1.372 GB, free: 14.73 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007209/1.15, allocations: 2.334 MB / 1.374 GB, free: 12.39 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003981/1.154, allocations: 1.428 MB / 1.375 GB, free: 10.98 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005768/1.16, allocations: 2.994 MB / 1.378 GB, free: 7.98 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002302/1.162, allocations: 0.8918 MB / 1.379 GB, free: 7.074 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003769/1.166, allocations: 1.127 MB / 1.38 GB, free: 5.949 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/1.168, allocations: 0.8133 MB / 1.381 GB, free: 5.137 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003496/1.169, allocations: 96 kB / 1.381 GB, free: 5.043 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004787/1.173, allocations: 2.062 MB / 1.383 GB, free: 2.977 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000697/1.174, allocations: 358.9 kB / 1.383 GB, free: 2.625 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00112/1.175, allocations: 0.5908 MB / 1.384 GB, free: 2.031 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00532/1.181, allocations: 2.398 MB / 1.386 GB, free: 15.62 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/1.181, allocations: 4 kB / 1.386 GB, free: 15.62 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.903e-06/1.181, allocations: 4 kB / 1.386 GB, free: 15.62 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.963e-05/1.181, allocations: 0 / 1.386 GB, free: 15.62 MB / 1.107 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.003996/1.185, allocations: 1.673 MB / 1.388 GB, free: 13.88 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.185, allocations: 8.625 kB / 1.388 GB, free: 13.88 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001574/1.185, allocations: 114.5 kB / 1.388 GB, free: 13.75 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003075/1.188, allocations: 0.5377 MB / 1.389 GB, free: 13.21 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/1.191, allocations: 1.048 MB / 1.39 GB, free: 12.12 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.482e-05/1.191, allocations: 57.31 kB / 1.39 GB, free: 12.07 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/1.191, allocations: 68 kB / 1.39 GB, free: 12 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002668/1.194, allocations: 1.112 MB / 1.391 GB, free: 10.86 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/1.194, allocations: 0 / 1.391 GB, free: 10.86 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.52e-05/1.194, allocations: 28 kB / 1.391 GB, free: 10.83 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-05/1.194, allocations: 33.31 kB / 1.391 GB, free: 10.8 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003282/1.197, allocations: 1.164 MB / 1.392 GB, free: 9.637 MB / 1.107 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.00629/1.203, allocations: 3.163 MB / 1.395 GB, free: 6.395 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/1.205, allocations: 0.6888 MB / 1.396 GB, free: 5.699 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008193/1.206, allocations: 420.7 kB / 1.396 GB, free: 5.289 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009967/1.207, allocations: 1.025 MB / 1.397 GB, free: 4.043 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/1.208, allocations: 0.5104 MB / 1.398 GB, free: 3.504 MB / 1.107 GB Notification: Performance of pre-optimization done (n=57): time 2.404e-06/1.208, allocations: 0 / 1.398 GB, free: 3.504 MB / 1.107 GB Notification: Performance of matching and sorting (n=57): time 0.003213/1.211, allocations: 1.229 MB / 1.399 GB, free: 2.266 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/1.211, allocations: 144.8 kB / 1.399 GB, free: 2.094 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/1.214, allocations: 1.18 MB / 1.4 GB, free: 0.8984 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/1.214, allocations: 37.7 kB / 1.4 GB, free: 0.8555 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004057/1.214, allocations: 441.8 kB / 1.401 GB, free: 428 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/1.214, allocations: 198.3 kB / 1.401 GB, free: 228 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002981/1.215, allocations: 150.1 kB / 1.401 GB, free: 72 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000159/1.215, allocations: 326 kB / 1.401 GB, free: 15.75 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/1.216, allocations: 444.9 kB / 1.402 GB, free: 15.31 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/1.218, allocations: 0.5898 MB / 1.402 GB, free: 14.68 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/1.22, allocations: 0.9344 MB / 1.403 GB, free: 13.68 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/1.22, allocations: 0 / 1.403 GB, free: 13.68 MB / 1.123 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003354/1.223, allocations: 1.198 MB / 1.404 GB, free: 12.47 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.784e-05/1.223, allocations: 41.62 kB / 1.404 GB, free: 12.43 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.223, allocations: 4 kB / 1.404 GB, free: 12.42 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/1.223, allocations: 8 kB / 1.404 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009464/1.224, allocations: 191.7 kB / 1.405 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/1.224, allocations: 7.938 kB / 1.405 GB, free: 12.22 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/1.226, allocations: 255.1 kB / 1.405 GB, free: 11.97 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-05/1.226, allocations: 31.98 kB / 1.405 GB, free: 11.94 MB / 1.123 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.0005831/1.226, allocations: 333.5 kB / 1.405 GB, free: 11.6 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/1.227, allocations: 123.2 kB / 1.405 GB, free: 11.48 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/1.229, allocations: 1.001 MB / 1.406 GB, free: 10.47 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/1.229, allocations: 7.938 kB / 1.406 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.229, allocations: 4 kB / 1.406 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/1.229, allocations: 3.984 kB / 1.406 GB, free: 10.45 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005193/1.234, allocations: 3.155 MB / 1.409 GB, free: 7.141 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/1.234, allocations: 12.03 kB / 1.409 GB, free: 7.129 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000585/1.235, allocations: 119.8 kB / 1.41 GB, free: 7.012 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.609e-05/1.235, allocations: 8 kB / 1.41 GB, free: 7.004 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/1.235, allocations: 27.98 kB / 1.41 GB, free: 6.977 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-05/1.235, allocations: 11.98 kB / 1.41 GB, free: 6.965 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/1.235, allocations: 15.94 kB / 1.41 GB, free: 6.949 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/1.237, allocations: 1.357 MB / 1.411 GB, free: 5.48 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006021/1.238, allocations: 340 kB / 1.411 GB, free: 5.129 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/1.238, allocations: 24 kB / 1.411 GB, free: 5.105 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/1.239, allocations: 99.89 kB / 1.411 GB, free: 5.008 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/1.239, allocations: 63.7 kB / 1.411 GB, free: 4.945 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.602e-05/1.24, allocations: 39.97 kB / 1.412 GB, free: 4.906 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001642/1.241, allocations: 0.8482 MB / 1.412 GB, free: 4.051 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.61e-07/1.241, allocations: 0 / 1.412 GB, free: 4.051 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001238/1.242, allocations: 299.6 kB / 1.413 GB, free: 3.758 MB / 1.123 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.003366/1.246, allocations: 2.144 MB / 1.415 GB, free: 1.5 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002581/1.248, allocations: 1.009 MB / 1.416 GB, free: 484 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/1.248, allocations: 0 / 1.416 GB, free: 484 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.249, allocations: 0.5202 MB / 1.416 GB, free: 15.94 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002861/1.252, allocations: 0.5513 MB / 1.417 GB, free: 15.4 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01778/1.27, allocations: 9.407 MB / 1.426 GB, free: 5.598 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008278/1.271, allocations: 1.065 MB / 1.427 GB, free: 4.5 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001117/1.272, allocations: 271 kB / 1.427 GB, free: 4.234 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005953/1.273, allocations: 359.3 kB / 1.428 GB, free: 3.883 MB / 1.139 GB Notification: Performance of SimCode: time 7.32e-07/1.273, allocations: 0 / 1.428 GB, free: 3.883 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07221/1.345, allocations: 31.79 MB / 1.459 GB, free: 4.363 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11.84, allocations: 11.69 kB / 1.459 GB, free: 4.352 MB / 1.17 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.843109715962783]