Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008522/0.0008522, 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.00085/0.00085, 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.9073/0.9073, allocations: 177.1 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.707/1.707, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.936e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6548/0.6549, allocations: 171.7 MB / 1.118 GB, free: 31.75 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.008521/0.6634, allocations: 6.574 MB / 1.125 GB, free: 27.26 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008605/0.6642, allocations: 65.97 kB / 1.125 GB, free: 27.22 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.6655, allocations: 0.6938 MB / 1.125 GB, free: 26.79 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003831/0.6694, allocations: 2.481 MB / 1.128 GB, free: 25.45 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.6719, allocations: 1.517 MB / 1.129 GB, free: 24.67 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002884/0.6747, allocations: 3.004 MB / 1.132 GB, free: 23.25 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000784/0.6755, allocations: 0.7036 MB / 1.133 GB, free: 22.92 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.6775, allocations: 1.508 MB / 1.134 GB, free: 22.25 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008691/0.6783, allocations: 0.7192 MB / 1.135 GB, free: 22.02 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.6785, allocations: 103.9 kB / 1.135 GB, free: 22.01 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003361/0.6818, allocations: 1.722 MB / 1.137 GB, free: 21.38 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003576/0.6822, allocations: 385.4 kB / 1.137 GB, free: 21.19 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004517/0.6826, allocations: 398.5 kB / 1.138 GB, free: 21.02 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003148/0.6858, allocations: 2.453 MB / 1.14 GB, free: 20.17 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.6858, allocations: 4 kB / 1.14 GB, free: 20.16 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6858, allocations: 1.125 kB / 1.14 GB, free: 20.16 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.6858, allocations: 0.6562 kB / 1.14 GB, free: 20.16 MB / 0.9948 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.002278/0.6881, allocations: 1.578 MB / 1.141 GB, free: 19.14 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.6881, allocations: 10.38 kB / 1.141 GB, free: 19.14 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.6883, allocations: 119.8 kB / 1.142 GB, free: 19.06 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/0.6897, allocations: 0.5403 MB / 1.142 GB, free: 18.96 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.6912, allocations: 0.968 MB / 1.143 GB, free: 18.43 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.627e-05/0.6912, allocations: 52.25 kB / 1.143 GB, free: 18.41 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.145e-05/0.6913, allocations: 69.94 kB / 1.143 GB, free: 18.38 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.6929, allocations: 1.236 MB / 1.144 GB, free: 17.79 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.6929, allocations: 1.438 kB / 1.144 GB, free: 17.79 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.697e-05/0.693, allocations: 30.97 kB / 1.144 GB, free: 17.77 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/0.693, allocations: 38.41 kB / 1.144 GB, free: 17.76 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.6948, allocations: 1.188 MB / 1.146 GB, free: 17.37 MB / 0.9948 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.003376/0.6981, allocations: 2.883 MB / 1.148 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.6992, allocations: 0.6779 MB / 1.149 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005013/0.6997, allocations: 426.3 kB / 1.149 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002843/0.7, allocations: 129.2 kB / 1.15 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006868/0.7007, allocations: 0.6472 MB / 1.15 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=57): time 1.893e-06/0.7007, allocations: 0 / 1.15 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of matching and sorting (n=57): time 0.001939/0.7026, allocations: 1.293 MB / 1.152 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.7027, allocations: 143 kB / 1.152 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.7039, allocations: 1.179 MB / 1.153 GB, free: 13.68 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.704, allocations: 43.45 kB / 1.153 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.7042, allocations: 445.4 kB / 1.153 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 8.46e-05/0.7043, allocations: 191.3 kB / 1.153 GB, free: 13.14 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.7044, allocations: 146.9 kB / 1.154 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.7e-05/0.7045, allocations: 329.1 kB / 1.154 GB, free: 12.76 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000658/0.7051, allocations: 481.7 kB / 1.154 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008097/0.7059, allocations: 0.9784 MB / 1.155 GB, free: 11.84 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.7071, allocations: 0.9306 MB / 1.156 GB, free: 11.37 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.7071, allocations: 5.031 kB / 1.156 GB, free: 11.37 MB / 0.9948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001714/0.7088, allocations: 1.245 MB / 1.157 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.7089, allocations: 43.52 kB / 1.157 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.7089, allocations: 3.469 kB / 1.157 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.7089, allocations: 6.188 kB / 1.157 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.7094, allocations: 185.5 kB / 1.158 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.7094, allocations: 5.844 kB / 1.158 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007075/0.7101, allocations: 243.2 kB / 1.158 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.439e-05/0.7101, allocations: 35.23 kB / 1.158 GB, free: 10.77 MB / 0.9948 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.0002863/0.7104, allocations: 337 kB / 1.158 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.7106, allocations: 120 kB / 1.158 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.7118, allocations: 1.036 MB / 1.159 GB, free: 10 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.7118, allocations: 11.19 kB / 1.159 GB, free: 10 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.7119, allocations: 1.188 kB / 1.159 GB, free: 10 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.7119, allocations: 4.969 kB / 1.159 GB, free: 10 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002969/0.7148, allocations: 3.007 MB / 1.162 GB, free: 8.359 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.7148, allocations: 10.62 kB / 1.162 GB, free: 8.355 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.7151, allocations: 118.3 kB / 1.162 GB, free: 8.344 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/0.7151, allocations: 11.27 kB / 1.162 GB, free: 8.344 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.7152, allocations: 24.17 kB / 1.163 GB, free: 8.336 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.361e-05/0.7152, allocations: 18.03 kB / 1.163 GB, free: 8.332 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/0.7152, allocations: 7.5 kB / 1.163 GB, free: 8.332 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.7165, allocations: 1.385 MB / 1.164 GB, free: 7.453 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/0.7168, allocations: 260.8 kB / 1.164 GB, free: 7.305 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.977e-05/0.7169, allocations: 24.17 kB / 1.164 GB, free: 7.297 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005344/0.7174, allocations: 99.22 kB / 1.164 GB, free: 7.285 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/0.7175, allocations: 60.48 kB / 1.164 GB, free: 7.266 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.506e-05/0.7176, allocations: 49.14 kB / 1.164 GB, free: 7.254 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0008784/0.7185, allocations: 0.8454 MB / 1.165 GB, free: 6.926 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.7185, allocations: 0 / 1.165 GB, free: 6.926 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008626/0.7193, allocations: 302.5 kB / 1.165 GB, free: 6.879 MB / 0.9948 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.001733/0.7211, allocations: 2.152 MB / 1.168 GB, free: 5.398 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00131/0.7224, allocations: 1.043 MB / 1.169 GB, free: 4.973 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.7224, allocations: 3.875 kB / 1.169 GB, free: 4.973 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005326/0.7229, allocations: 0.5078 MB / 1.169 GB, free: 4.734 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.7244, allocations: 0.5601 MB / 1.17 GB, free: 4.555 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009536/0.734, allocations: 9.594 MB / 1.179 GB, free: 15.64 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.7343, allocations: 482.3 kB / 1.179 GB, free: 15.49 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006968/0.735, allocations: 273.6 kB / 1.18 GB, free: 15.43 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003685/0.7353, allocations: 359.8 kB / 1.18 GB, free: 15.18 MB / 1.01 GB Notification: Performance of SimCode: time 8.02e-07/0.7353, allocations: 0 / 1.18 GB, free: 15.18 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04542/0.7808, allocations: 34.53 MB / 1.214 GB, free: 12.09 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/8.417, allocations: 0 / 1.214 GB, free: 12.09 MB / 1.026 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.650680034421384]