Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.005313/0.005313, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001123/0.001123, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.459/2.459, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 68.33 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.303, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.9819/1.285, allocations: 194 MB / 1.277 GB, free: 3.668 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01496/1.3, allocations: 6.944 MB / 1.284 GB, free: 3.516 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003038/1.303, allocations: 45.69 kB / 1.284 GB, free: 3.516 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002803/1.306, allocations: 0.6875 MB / 1.285 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008665/1.315, allocations: 2.339 MB / 1.287 GB, free: 3.422 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004418/1.319, allocations: 1.427 MB / 1.289 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005288/1.324, allocations: 3.003 MB / 1.291 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/1.326, allocations: 0.8825 MB / 1.292 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003251/1.329, allocations: 1.143 MB / 1.293 GB, free: 3.277 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/1.331, allocations: 0.7918 MB / 1.294 GB, free: 3.277 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002272/1.331, allocations: 100.5 kB / 1.294 GB, free: 3.277 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005043/1.336, allocations: 2.059 MB / 1.296 GB, free: 3.254 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006066/1.337, allocations: 369.3 kB / 1.297 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/1.338, allocations: 0.5884 MB / 1.297 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00661/1.345, allocations: 2.394 MB / 1.3 GB, free: 3.043 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/1.345, allocations: 2.156 kB / 1.3 GB, free: 3.043 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/1.345, allocations: 0 / 1.3 GB, free: 3.043 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.794e-05/1.345, allocations: 0 / 1.3 GB, free: 3.043 MB / 1.014 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.004395/1.349, allocations: 1.626 MB / 1.301 GB, free: 2.168 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/1.349, allocations: 10.5 kB / 1.301 GB, free: 2.168 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/1.352, allocations: 0.5361 MB / 1.302 GB, free: 2.105 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/1.355, allocations: 1.044 MB / 1.303 GB, free: 1.762 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.569e-05/1.355, allocations: 54.94 kB / 1.303 GB, free: 1.762 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/1.355, allocations: 68.88 kB / 1.303 GB, free: 1.762 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/1.357, allocations: 1.106 MB / 1.304 GB, free: 1.648 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/1.357, allocations: 0.875 kB / 1.304 GB, free: 1.648 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.984e-05/1.358, allocations: 26.94 kB / 1.304 GB, free: 1.648 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.743e-05/1.358, allocations: 34.81 kB / 1.304 GB, free: 1.648 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00303/1.361, allocations: 1.16 MB / 1.305 GB, free: 1.645 MB / 1.014 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.005685/1.366, allocations: 3.159 MB / 1.308 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/1.368, allocations: 0.6863 MB / 1.309 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00077/1.369, allocations: 425.7 kB / 1.309 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009224/1.37, allocations: 1.02 MB / 1.31 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/1.371, allocations: 0.52 MB / 1.311 GB, free: 15.44 MB / 1.029 GB Notification: Performance of pre-optimization done (n=57): time 3.055e-06/1.371, allocations: 3.938 kB / 1.311 GB, free: 15.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=57): time 0.003328/1.374, allocations: 1.226 MB / 1.312 GB, free: 15.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.017e-05/1.374, allocations: 139.2 kB / 1.312 GB, free: 15.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/1.376, allocations: 1.172 MB / 1.313 GB, free: 15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/1.377, allocations: 42.55 kB / 1.313 GB, free: 14.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/1.377, allocations: 439.4 kB / 1.314 GB, free: 14.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/1.377, allocations: 190.5 kB / 1.314 GB, free: 14.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/1.377, allocations: 143.6 kB / 1.314 GB, free: 14.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001954/1.378, allocations: 332.5 kB / 1.314 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/1.379, allocations: 438.9 kB / 1.315 GB, free: 14.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/1.38, allocations: 0.5963 MB / 1.315 GB, free: 14.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/1.382, allocations: 0.9274 MB / 1.316 GB, free: 14.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.382, allocations: 0 / 1.316 GB, free: 14.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003645/1.386, allocations: 1.202 MB / 1.317 GB, free: 13.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-05/1.386, allocations: 41.36 kB / 1.317 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/1.386, allocations: 3.531 kB / 1.317 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4e-05/1.386, allocations: 4.938 kB / 1.318 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/1.387, allocations: 185.8 kB / 1.318 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/1.387, allocations: 13.12 kB / 1.318 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/1.389, allocations: 247.6 kB / 1.318 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/1.39, allocations: 38.39 kB / 1.318 GB, free: 13.83 MB / 1.029 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.0008259/1.39, allocations: 325.4 kB / 1.318 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003646/1.391, allocations: 120.1 kB / 1.318 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002415/1.393, allocations: 0.9959 MB / 1.319 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/1.393, allocations: 9.562 kB / 1.319 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/1.393, allocations: 1.344 kB / 1.319 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/1.393, allocations: 6.609 kB / 1.319 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005153/1.398, allocations: 3.162 MB / 1.322 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/1.398, allocations: 7.344 kB / 1.322 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005864/1.399, allocations: 116.2 kB / 1.323 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/1.399, allocations: 15.09 kB / 1.323 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/1.399, allocations: 26.3 kB / 1.323 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.347e-05/1.399, allocations: 17.72 kB / 1.323 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/1.399, allocations: 15.34 kB / 1.323 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/1.401, allocations: 1.339 MB / 1.324 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006171/1.402, allocations: 328.7 kB / 1.324 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/1.402, allocations: 26.77 kB / 1.324 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/1.403, allocations: 108.2 kB / 1.324 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/1.403, allocations: 58.17 kB / 1.324 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.316e-05/1.404, allocations: 42.05 kB / 1.325 GB, free: 11.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001466/1.405, allocations: 0.8432 MB / 1.325 GB, free: 11.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.405, allocations: 3.906 kB / 1.325 GB, free: 11.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001252/1.406, allocations: 302.7 kB / 1.326 GB, free: 11.82 MB / 1.029 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.0006957/1.407, allocations: 346.8 kB / 1.326 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002309/1.409, allocations: 1.011 MB / 1.327 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.409, allocations: 6.469 kB / 1.327 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008443/1.41, allocations: 0.5101 MB / 1.327 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/1.413, allocations: 0.5596 MB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/1.416, allocations: 2.021 MB / 1.33 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006011/1.417, allocations: 1.069 MB / 1.331 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001019/1.418, allocations: 271.3 kB / 1.331 GB, free: 9.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/1.418, allocations: 81.3 kB / 1.331 GB, free: 9.746 MB / 1.029 GB Notification: Performance of SimCode: time 8.42e-07/1.418, allocations: 0 / 1.331 GB, free: 9.746 MB / 1.029 GB Notification: Performance of Templates: time 0.03586/1.454, allocations: 22.18 MB / 1.353 GB, free: 3.082 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches