Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007913/0.0007913, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007786/0.0007786, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.826/0.826, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.637/1.637, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.981 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.989e-06/1.117e-05, allocations: 10.22 kB / 0.981 GB, free: 1.438 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5411/0.5411, allocations: 171.7 MB / 1.149 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007059/0.5482, allocations: 6.58 MB / 1.155 GB, free: 9.512 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008162/0.549, allocations: 62.81 kB / 1.155 GB, free: 9.477 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.5501, allocations: 0.6953 MB / 1.156 GB, free: 8.887 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003508/0.5536, allocations: 2.474 MB / 1.158 GB, free: 7.012 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002938/0.5566, allocations: 1.529 MB / 1.16 GB, free: 5.867 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002925/0.5595, allocations: 3.01 MB / 1.163 GB, free: 4.062 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00084/0.5603, allocations: 0.6909 MB / 1.163 GB, free: 3.578 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002886/0.5632, allocations: 1.962 MB / 1.165 GB, free: 2.312 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007887/0.564, allocations: 0.7111 MB / 1.166 GB, free: 1.93 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.5641, allocations: 99.28 kB / 1.166 GB, free: 1.93 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002189/0.5663, allocations: 1.691 MB / 1.168 GB, free: 1.012 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.5665, allocations: 385 kB / 1.168 GB, free: 0.7383 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.5669, allocations: 396.1 kB / 1.168 GB, free: 0.5352 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.5693, allocations: 2.454 MB / 1.171 GB, free: 14.67 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5693, allocations: 4 kB / 1.171 GB, free: 14.66 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5693, allocations: 0 / 1.171 GB, free: 14.66 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.368e-05/0.5693, allocations: 0 / 1.171 GB, free: 14.66 MB / 1.01 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.002168/0.5715, allocations: 1.586 MB / 1.172 GB, free: 13.03 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.5715, allocations: 8.031 kB / 1.172 GB, free: 13.02 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.947e-05/0.5716, allocations: 118.4 kB / 1.173 GB, free: 12.9 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.573, allocations: 0.5455 MB / 1.173 GB, free: 12.35 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.5744, allocations: 0.9635 MB / 1.174 GB, free: 11.36 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.5745, allocations: 57.31 kB / 1.174 GB, free: 11.3 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.632e-05/0.5746, allocations: 68 kB / 1.174 GB, free: 11.24 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.576, allocations: 1.238 MB / 1.175 GB, free: 9.941 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.576, allocations: 4 kB / 1.175 GB, free: 9.938 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.225e-05/0.5761, allocations: 24 kB / 1.175 GB, free: 9.914 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/0.5761, allocations: 33.25 kB / 1.175 GB, free: 9.883 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.5777, allocations: 1.197 MB / 1.177 GB, free: 8.676 MB / 1.01 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.003319/0.5811, allocations: 2.872 MB / 1.179 GB, free: 5.734 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009881/0.5821, allocations: 0.682 MB / 1.18 GB, free: 5.035 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004582/0.5825, allocations: 426.5 kB / 1.18 GB, free: 4.613 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002679/0.5828, allocations: 128.4 kB / 1.181 GB, free: 4.488 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006311/0.5834, allocations: 0.6476 MB / 1.181 GB, free: 3.785 MB / 1.01 GB Notification: Performance of pre-optimization done (n=57): time 2.244e-06/0.5834, allocations: 3.938 kB / 1.181 GB, free: 3.781 MB / 1.01 GB Notification: Performance of matching and sorting (n=57): time 0.001693/0.5851, allocations: 1.293 MB / 1.182 GB, free: 2.469 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.5852, allocations: 140.9 kB / 1.183 GB, free: 2.301 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.5863, allocations: 1.18 MB / 1.184 GB, free: 1.105 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/0.5863, allocations: 37.7 kB / 1.184 GB, free: 1.062 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.5866, allocations: 445.8 kB / 1.184 GB, free: 0.625 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.5867, allocations: 198.3 kB / 1.184 GB, free: 440 kB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.5868, allocations: 138.2 kB / 1.184 GB, free: 296 kB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.5869, allocations: 333.9 kB / 1.185 GB, free: 15.96 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006434/0.5875, allocations: 475.5 kB / 1.185 GB, free: 15.48 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008816/0.5884, allocations: 0.9812 MB / 1.186 GB, free: 14.37 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.5895, allocations: 0.9334 MB / 1.187 GB, free: 13.38 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.5895, allocations: 4 kB / 1.187 GB, free: 13.38 MB / 1.026 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001617/0.5911, allocations: 1.242 MB / 1.188 GB, free: 12.11 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.5912, allocations: 41.7 kB / 1.188 GB, free: 12.06 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5912, allocations: 480 / 1.188 GB, free: 12.06 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.5912, allocations: 8 kB / 1.188 GB, free: 12.05 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000428/0.5916, allocations: 191.8 kB / 1.189 GB, free: 11.87 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.5916, allocations: 7.984 kB / 1.189 GB, free: 11.86 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006754/0.5923, allocations: 243.1 kB / 1.189 GB, free: 11.62 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.9e-05/0.5924, allocations: 47.91 kB / 1.189 GB, free: 11.57 MB / 1.026 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.0003155/0.5927, allocations: 327.3 kB / 1.189 GB, free: 11.24 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.5928, allocations: 123.2 kB / 1.189 GB, free: 11.12 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.594, allocations: 1.048 MB / 1.19 GB, free: 10.05 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.594, allocations: 4 kB / 1.19 GB, free: 10.05 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.594, allocations: 4 kB / 1.19 GB, free: 10.05 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.594, allocations: 3.984 kB / 1.19 GB, free: 10.04 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/0.597, allocations: 2.999 MB / 1.193 GB, free: 6.891 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.597, allocations: 11.94 kB / 1.193 GB, free: 6.879 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.5973, allocations: 124 kB / 1.193 GB, free: 6.758 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.5973, allocations: 8 kB / 1.193 GB, free: 6.75 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.5973, allocations: 27.98 kB / 1.193 GB, free: 6.723 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.5973, allocations: 11.94 kB / 1.193 GB, free: 6.711 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.5973, allocations: 8 kB / 1.193 GB, free: 6.703 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.5985, allocations: 1.373 MB / 1.195 GB, free: 5.203 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/0.5988, allocations: 258.9 kB / 1.195 GB, free: 4.949 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.429e-05/0.5989, allocations: 20 kB / 1.195 GB, free: 4.93 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005004/0.5994, allocations: 99.89 kB / 1.195 GB, free: 4.832 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.5995, allocations: 67.61 kB / 1.195 GB, free: 4.766 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.5996, allocations: 43.91 kB / 1.195 GB, free: 4.723 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.000805/0.6004, allocations: 0.8443 MB / 1.196 GB, free: 3.871 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6004, allocations: 0 / 1.196 GB, free: 3.871 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.000686/0.601, allocations: 299.6 kB / 1.196 GB, free: 3.578 MB / 1.026 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.001749/0.6028, allocations: 2.162 MB / 1.198 GB, free: 1.289 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.6043, allocations: 1.033 MB / 1.199 GB, free: 240 kB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6043, allocations: 4 kB / 1.199 GB, free: 236 kB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0005085/0.6048, allocations: 0.5103 MB / 1.2 GB, free: 15.7 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.6063, allocations: 0.5526 MB / 1.201 GB, free: 15.16 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009994/0.6163, allocations: 9.604 MB / 1.21 GB, free: 5.121 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.6166, allocations: 482.6 kB / 1.21 GB, free: 4.617 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.000657/0.6172, allocations: 276.7 kB / 1.211 GB, free: 4.348 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003563/0.6176, allocations: 360.4 kB / 1.211 GB, free: 3.996 MB / 1.042 GB Notification: Performance of SimCode: time 1.172e-06/0.6176, allocations: 0 / 1.211 GB, free: 3.996 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04167/0.6593, allocations: 34.53 MB / 1.245 GB, free: 2.07 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.198/7.858, allocations: 13.95 kB / 1.245 GB, free: 2.062 MB / 1.073 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.629329079762101]