Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dyn.Q_flow|dyn.medium.T|ste.sta_b.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dyn.Q_flow|dyn.medium.T|ste.sta_b.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 116.2 kB / 16.42 MB, free: 6.465 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.0017/0.0017, allocations: 189.5 kB / 17.35 MB, free: 5.719 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.158/2.158, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.91 kB / 0.9516 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6899/0.6912, allocations: 140.4 MB / 1.089 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02016/0.7114, allocations: 20.82 MB / 1.109 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008003/0.7194, allocations: 5.383 MB / 1.114 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005717/0.72, allocations: 26.62 kB / 1.114 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008906/0.7209, allocations: 354.5 kB / 1.115 GB, free: 2.535 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002109/0.7231, allocations: 0.9629 MB / 1.116 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.7255, allocations: 0.9424 MB / 1.116 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00203/0.7275, allocations: 1.745 MB / 1.118 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007893/0.7283, allocations: 0.4924 MB / 1.119 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.7301, allocations: 0.7222 MB / 1.119 GB, free: 236 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008073/0.7309, allocations: 497.1 kB / 1.12 GB, free: 20 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.731, allocations: 40.62 kB / 1.12 GB, free: 20 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.7331, allocations: 1.131 MB / 1.121 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.7332, allocations: 143.1 kB / 1.121 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003959/0.7336, allocations: 317.8 kB / 1.121 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.7355, allocations: 1.217 MB / 1.123 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7356, allocations: 5.062 kB / 1.123 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.173e-06/0.7356, allocations: 0 / 1.123 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.503e-05/0.7356, allocations: 0 / 1.123 GB, free: 14.96 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002202/0.7378, allocations: 1.043 MB / 1.124 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.7379, allocations: 13.55 kB / 1.124 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009913/0.7389, allocations: 176.2 kB / 1.124 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.7401, allocations: 0.5889 MB / 1.124 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.7401, allocations: 29.41 kB / 1.124 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-05/0.7402, allocations: 38.47 kB / 1.124 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.7413, allocations: 0.4913 MB / 1.125 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.7413, allocations: 0 / 1.125 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.7414, allocations: 12.69 kB / 1.125 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.7414, allocations: 21.84 kB / 1.125 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009925/0.7424, allocations: 403.9 kB / 1.125 GB, free: 13.37 MB / 0.8887 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.003079/0.7455, allocations: 2.278 MB / 1.128 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009624/0.7464, allocations: 368.5 kB / 1.128 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004941/0.747, allocations: 227.8 kB / 1.128 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/0.7473, allocations: 340.3 kB / 1.128 GB, free: 11 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006351/0.7479, allocations: 298.2 kB / 1.129 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.7479, allocations: 3.938 kB / 1.129 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.002273/0.7502, allocations: 0.8573 MB / 1.13 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.7502, allocations: 83.17 kB / 1.13 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005694/0.7508, allocations: 493 kB / 1.13 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/0.7509, allocations: 32.64 kB / 1.13 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.7511, allocations: 286.1 kB / 1.13 GB, free: 9.902 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.566e-05/0.7512, allocations: 105.5 kB / 1.131 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.7514, allocations: 80.12 kB / 1.131 GB, free: 9.777 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.7515, allocations: 359.8 kB / 1.131 GB, free: 9.445 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/0.752, allocations: 176.1 kB / 1.131 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005275/0.7525, allocations: 255.6 kB / 1.131 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000959/0.7535, allocations: 465.5 kB / 1.132 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.7535, allocations: 1.219 kB / 1.132 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001459/0.755, allocations: 0.6194 MB / 1.132 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.871e-05/0.755, allocations: 39.11 kB / 1.132 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.755, allocations: 3.047 kB / 1.132 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000337/0.7554, allocations: 67.77 kB / 1.133 GB, free: 8.691 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.7558, allocations: 81.73 kB / 1.133 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000461/0.7562, allocations: 0.598 MB / 1.133 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.7567, allocations: 62.34 kB / 1.133 GB, free: 8.094 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/0.7568, allocations: 19.44 kB / 1.133 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005939/0.7574, allocations: 307.8 kB / 1.134 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005168/0.7579, allocations: 260.3 kB / 1.134 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009312/0.7589, allocations: 454.2 kB / 1.134 GB, free: 7.555 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.7589, allocations: 3.938 kB / 1.134 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001319/0.7602, allocations: 0.5905 MB / 1.135 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.7602, allocations: 44.31 kB / 1.135 GB, free: 7.266 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.7603, allocations: 2.031 kB / 1.135 GB, free: 7.266 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001624/0.7604, allocations: 46.97 kB / 1.135 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.7608, allocations: 78.38 kB / 1.135 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.7624, allocations: 1.809 MB / 1.137 GB, free: 5.523 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/0.7629, allocations: 58.64 kB / 1.137 GB, free: 5.5 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.7629, allocations: 18.34 kB / 1.137 GB, free: 5.496 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002217/0.7631, allocations: 242.2 kB / 1.137 GB, free: 5.262 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.7633, allocations: 57.3 kB / 1.137 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.7647, allocations: 0.6348 MB / 1.138 GB, free: 4.973 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001288/0.766, allocations: 0.7867 MB / 1.138 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.766, allocations: 0 / 1.138 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.7663, allocations: 181.3 kB / 1.139 GB, free: 4.305 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.643e-05/0.7664, allocations: 8.172 kB / 1.139 GB, free: 4.301 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004796/0.7669, allocations: 52.73 kB / 1.139 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.767, allocations: 28.53 kB / 1.139 GB, free: 4.273 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001634/0.7686, allocations: 0.741 MB / 1.139 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001807/0.7704, allocations: 0.9753 MB / 1.14 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005139/0.7709, allocations: 230.9 kB / 1.141 GB, free: 3.348 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004159/0.7714, allocations: 351.4 kB / 1.141 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of Backend: time 4.21e-07/0.7714, allocations: 4 kB / 1.141 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003041/0.7744, allocations: 1.167 MB / 1.142 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of SimCode: time 0.002242/0.7767, allocations: 1.627 MB / 1.144 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of Templates: time 0.02485/0.8015, allocations: 13.86 MB / 1.157 GB, free: 12.9 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_ConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches