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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005319/0.005319, allocations: 99.95 kB / 15.87 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001243, allocations: 198.2 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.52/2.52, allocations: 437 MB / 0.7106 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 63.91 kB / 0.8692 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6687/0.6702, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1882/0.8584, allocations: 191.7 MB / 1.204 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009843/0.8683, allocations: 6.992 MB / 1.211 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.8697, allocations: 43.69 kB / 1.211 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.8714, allocations: 0.5593 MB / 1.212 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005051/0.8765, allocations: 2.187 MB / 1.214 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002889/0.8794, allocations: 1.283 MB / 1.215 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003963/0.8833, allocations: 3.742 MB / 1.219 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.8845, allocations: 0.7893 MB / 1.22 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.8862, allocations: 0.9725 MB / 1.221 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.8877, allocations: 0.8047 MB / 1.221 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.8878, allocations: 48 kB / 1.221 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003692/0.8915, allocations: 2.229 MB / 1.224 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003241/0.8918, allocations: 318.8 kB / 1.224 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005497/0.8924, allocations: 0.5323 MB / 1.224 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.8944, allocations: 1.762 MB / 1.226 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.8944, allocations: 4 kB / 1.226 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.42e-07/0.8944, allocations: 0 / 1.226 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.8944, allocations: 0 / 1.226 GB, free: 12.14 MB / 0.9825 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.003193/0.8976, allocations: 1.638 MB / 1.228 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.8977, allocations: 12.03 kB / 1.228 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002987/0.9007, allocations: 0.5254 MB / 1.228 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.9027, allocations: 0.9984 MB / 1.229 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00109/0.9038, allocations: 281 kB / 1.23 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.9039, allocations: 68 kB / 1.23 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.9063, allocations: 1.124 MB / 1.231 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.9063, allocations: 4 kB / 1.231 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.074e-05/0.9064, allocations: 24 kB / 1.231 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.914e-05/0.9065, allocations: 33.3 kB / 1.231 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/0.9095, allocations: 1.203 MB / 1.232 GB, free: 6.105 MB / 0.9825 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.005597/0.9151, allocations: 3.209 MB / 1.235 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.9167, allocations: 0.6841 MB / 1.236 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007561/0.9175, allocations: 423.9 kB / 1.236 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008715/0.9184, allocations: 1.021 MB / 1.237 GB, free: 484 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000976/0.9194, allocations: 0.5182 MB / 1.238 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=57): time 2.485e-06/0.9194, allocations: 0 / 1.238 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57): time 0.002847/0.9222, allocations: 1.217 MB / 1.239 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.9223, allocations: 144.8 kB / 1.239 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.9242, allocations: 1.2 MB / 1.24 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.181e-05/0.9243, allocations: 37.7 kB / 1.24 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000343/0.9246, allocations: 445.4 kB / 1.241 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.9248, allocations: 193.2 kB / 1.241 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/0.925, allocations: 142.1 kB / 1.241 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.9252, allocations: 326 kB / 1.241 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.9264, allocations: 468.8 kB / 1.242 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.9278, allocations: 0.6149 MB / 1.242 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/0.9297, allocations: 0.9422 MB / 1.243 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.9298, allocations: 4 kB / 1.243 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003067/0.9328, allocations: 1.232 MB / 1.244 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.9329, allocations: 37.7 kB / 1.244 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.9329, allocations: 4 kB / 1.244 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.9329, allocations: 4 kB / 1.244 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009515/0.9339, allocations: 207.9 kB / 1.245 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.9339, allocations: 7.938 kB / 1.245 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.9355, allocations: 270.9 kB / 1.245 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.31e-05/0.9356, allocations: 35.98 kB / 1.245 GB, free: 8.23 MB / 0.9981 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.0005261/0.9361, allocations: 328.5 kB / 1.245 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.9363, allocations: 122.5 kB / 1.245 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.9383, allocations: 0.9905 MB / 1.246 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.9383, allocations: 11.94 kB / 1.246 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.9383, allocations: 4 kB / 1.246 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.9383, allocations: 3.984 kB / 1.246 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004468/0.9428, allocations: 3.158 MB / 1.249 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.9428, allocations: 8 kB / 1.249 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005755/0.9434, allocations: 128.3 kB / 1.25 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/0.9434, allocations: 11.98 kB / 1.25 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.305e-05/0.9435, allocations: 24 kB / 1.25 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/0.9435, allocations: 11.98 kB / 1.25 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-05/0.9435, allocations: 15.94 kB / 1.25 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/0.9455, allocations: 1.337 MB / 1.251 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000467/0.946, allocations: 335.3 kB / 1.251 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.9462, allocations: 20 kB / 1.251 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.9473, allocations: 115.9 kB / 1.251 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.9474, allocations: 59.7 kB / 1.251 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.587e-05/0.9475, allocations: 43.97 kB / 1.251 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001441/0.9489, allocations: 0.8677 MB / 1.252 GB, free: 348 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9489, allocations: 0 / 1.252 GB, free: 348 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001027/0.95, allocations: 295.8 kB / 1.253 GB, free: 52 kB / 0.9981 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.5328/1.483, allocations: 342.5 kB / 1.253 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00281/1.486, allocations: 1.014 MB / 1.254 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.486, allocations: 1.5 kB / 1.254 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/1.487, allocations: 0.5138 MB / 1.254 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003075/1.49, allocations: 0.5329 MB / 1.255 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004112/1.494, allocations: 2.389 MB / 1.257 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007171/1.495, allocations: 1.066 MB / 1.258 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004989/1.495, allocations: 93.56 kB / 1.258 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of SimCode: time 7.81e-07/1.495, allocations: 0 / 1.258 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03542/1.531, allocations: 18.71 MB / 1.277 GB, free: 225.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (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 & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches