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.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.0008182/0.0008182, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008113/0.0008113, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8418/0.8418, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.713/1.713, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.753e-06/1.753e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.952e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5274/0.5274, allocations: 171.6 MB / 1.167 GB, free: 8.609 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.008671/0.5361, allocations: 6.533 MB / 1.174 GB, free: 4.145 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.5375, allocations: 61.09 kB / 1.174 GB, free: 4.109 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.5392, allocations: 0.6975 MB / 1.174 GB, free: 3.676 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.005224/0.5444, allocations: 2.45 MB / 1.177 GB, free: 2.355 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.002921/0.5473, allocations: 1.501 MB / 1.178 GB, free: 1.59 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.003988/0.5513, allocations: 2.908 MB / 1.181 GB, free: 212 kB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.5525, allocations: 0.6551 MB / 1.182 GB, free: 15.89 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00383/0.5564, allocations: 1.922 MB / 1.184 GB, free: 15.02 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.5577, allocations: 0.7044 MB / 1.184 GB, free: 14.79 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.5578, allocations: 99.56 kB / 1.184 GB, free: 14.79 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002985/0.5608, allocations: 1.682 MB / 1.186 GB, free: 14.2 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004236/0.5612, allocations: 387.9 kB / 1.186 GB, free: 14 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005142/0.5618, allocations: 399.7 kB / 1.187 GB, free: 13.83 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.003665/0.5654, allocations: 2.437 MB / 1.189 GB, free: 12.99 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5654, allocations: 4 kB / 1.189 GB, free: 12.99 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5654, allocations: 0 / 1.189 GB, free: 12.99 MB / 1.042 GB Notification: Performance of Transformations before backend: time 2.379e-05/0.5655, allocations: 1.062 kB / 1.189 GB, free: 12.99 MB / 1.042 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.002702/0.5682, allocations: 1.558 MB / 1.191 GB, free: 11.98 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.5682, allocations: 10.03 kB / 1.191 GB, free: 11.98 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.5683, allocations: 114.6 kB / 1.191 GB, free: 11.89 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.5698, allocations: 0.536 MB / 1.191 GB, free: 11.8 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.5714, allocations: 0.9415 MB / 1.192 GB, free: 11.27 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/0.5715, allocations: 59.89 kB / 1.192 GB, free: 11.24 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.555e-05/0.5715, allocations: 67.16 kB / 1.192 GB, free: 11.22 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.5732, allocations: 1.231 MB / 1.194 GB, free: 10.63 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.5732, allocations: 3.938 kB / 1.194 GB, free: 10.63 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-05/0.5732, allocations: 26.88 kB / 1.194 GB, free: 10.61 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.5733, allocations: 39.98 kB / 1.194 GB, free: 10.6 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.575, allocations: 1.189 MB / 1.195 GB, free: 10.2 MB / 1.042 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.003717/0.5787, allocations: 2.858 MB / 1.198 GB, free: 8.562 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.5798, allocations: 0.6894 MB / 1.198 GB, free: 8.273 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/0.5803, allocations: 422.7 kB / 1.199 GB, free: 8.109 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003042/0.5806, allocations: 126.2 kB / 1.199 GB, free: 8.09 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007/0.5813, allocations: 0.6532 MB / 1.199 GB, free: 7.672 MB / 1.042 GB Notification: Performance of pre-optimization done (n=57): time 2.635e-06/0.5813, allocations: 0 / 1.199 GB, free: 7.672 MB / 1.042 GB Notification: Performance of matching and sorting (n=57): time 0.002013/0.5833, allocations: 1.285 MB / 1.201 GB, free: 6.992 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.5834, allocations: 141.1 kB / 1.201 GB, free: 6.832 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.5847, allocations: 1.168 MB / 1.202 GB, free: 6.191 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 7.55e-05/0.5848, allocations: 38.02 kB / 1.202 GB, free: 6.152 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007088/0.5855, allocations: 441.5 kB / 1.202 GB, free: 5.77 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.5856, allocations: 198.9 kB / 1.203 GB, free: 5.598 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.5858, allocations: 143.2 kB / 1.203 GB, free: 5.516 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.153e-05/0.5859, allocations: 331.1 kB / 1.203 GB, free: 5.191 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006662/0.5865, allocations: 476.3 kB / 1.204 GB, free: 4.949 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00085/0.5874, allocations: 0.9782 MB / 1.204 GB, free: 4.102 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.5885, allocations: 0.9264 MB / 1.205 GB, free: 3.527 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5885, allocations: 7 kB / 1.205 GB, free: 3.523 MB / 1.042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001698/0.5902, allocations: 1.23 MB / 1.207 GB, free: 2.891 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.5902, allocations: 44.88 kB / 1.207 GB, free: 2.852 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.5902, allocations: 6 kB / 1.207 GB, free: 2.852 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.5902, allocations: 9.5 kB / 1.207 GB, free: 2.848 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/0.5907, allocations: 185.9 kB / 1.207 GB, free: 2.793 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.5907, allocations: 5.156 kB / 1.207 GB, free: 2.793 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008385/0.5915, allocations: 248.4 kB / 1.207 GB, free: 2.668 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.21e-05/0.5916, allocations: 36.89 kB / 1.207 GB, free: 2.656 MB / 1.042 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.0003663/0.5919, allocations: 328.9 kB / 1.207 GB, free: 2.398 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.5921, allocations: 122.4 kB / 1.208 GB, free: 2.332 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.5933, allocations: 1.027 MB / 1.209 GB, free: 1.746 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.5933, allocations: 5.281 kB / 1.209 GB, free: 1.746 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.5933, allocations: 7.984 kB / 1.209 GB, free: 1.738 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5933, allocations: 2.562 kB / 1.209 GB, free: 1.738 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/0.5962, allocations: 3.003 MB / 1.211 GB, free: 15.67 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/0.5962, allocations: 15.97 kB / 1.211 GB, free: 15.66 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.5965, allocations: 121.6 kB / 1.212 GB, free: 15.62 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.5965, allocations: 11.38 kB / 1.212 GB, free: 15.62 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.5966, allocations: 25.97 kB / 1.212 GB, free: 15.61 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.5966, allocations: 21.08 kB / 1.212 GB, free: 15.6 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/0.5966, allocations: 20.2 kB / 1.212 GB, free: 15.59 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.5978, allocations: 1.362 MB / 1.213 GB, free: 14.61 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006472/0.5985, allocations: 263.2 kB / 1.213 GB, free: 14.42 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.5986, allocations: 23.34 kB / 1.213 GB, free: 14.41 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.5991, allocations: 101 kB / 1.213 GB, free: 14.37 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/0.5992, allocations: 59.42 kB / 1.213 GB, free: 14.34 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/0.5992, allocations: 43.16 kB / 1.213 GB, free: 14.32 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0008408/0.6001, allocations: 0.8337 MB / 1.214 GB, free: 13.86 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6001, allocations: 0 / 1.214 GB, free: 13.86 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0008062/0.6009, allocations: 307.7 kB / 1.215 GB, free: 13.8 MB / 1.057 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.001884/0.6028, allocations: 2.142 MB / 1.217 GB, free: 12.2 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.6041, allocations: 1.037 MB / 1.218 GB, free: 11.63 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.6041, allocations: 3.344 kB / 1.218 GB, free: 11.63 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0005051/0.6046, allocations: 0.5043 MB / 1.218 GB, free: 11.33 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.6062, allocations: 0.5209 MB / 1.219 GB, free: 11.05 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.6172, allocations: 9.53 MB / 1.228 GB, free: 1.617 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.6176, allocations: 482.3 kB / 1.228 GB, free: 1.113 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0007088/0.6183, allocations: 264 kB / 1.229 GB, free: 0.8555 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003568/0.6186, allocations: 352.4 kB / 1.229 GB, free: 0.5117 MB / 1.057 GB Notification: Performance of SimCode: time 1.042e-06/0.6186, allocations: 0 / 1.229 GB, free: 0.5117 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04431/0.663, allocations: 33.62 MB / 1.262 GB, free: 15.42 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.239/7.902, allocations: 6.344 kB / 1.262 GB, free: 15.41 MB / 1.104 GB " [Timeout remaining time 292] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.815813629887998]