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.001453/0.001452, allocations: 108.7 kB / 16.41 MB, free: 6.488 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.001559/0.001559, allocations: 183 kB / 17.34 MB, free: 5.766 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.15 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.245/2.245, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 67.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9436/0.9451, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2562/1.201, allocations: 194 MB / 1.278 GB, free: 11.68 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01261/1.214, allocations: 6.944 MB / 1.285 GB, free: 4.715 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002253/1.216, allocations: 47.69 kB / 1.285 GB, free: 4.668 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002554/1.219, allocations: 0.687 MB / 1.286 GB, free: 3.977 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007566/1.227, allocations: 2.337 MB / 1.288 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004027/1.231, allocations: 1.429 MB / 1.289 GB, free: 220 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004944/1.236, allocations: 3.001 MB / 1.292 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/1.237, allocations: 0.8762 MB / 1.293 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003389/1.241, allocations: 1.151 MB / 1.294 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/1.243, allocations: 0.7983 MB / 1.295 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004349/1.243, allocations: 100 kB / 1.295 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00458/1.248, allocations: 2.058 MB / 1.297 GB, free: 8.211 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007059/1.249, allocations: 362.9 kB / 1.297 GB, free: 7.855 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/1.25, allocations: 0.5947 MB / 1.298 GB, free: 7.258 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005257/1.255, allocations: 2.394 MB / 1.3 GB, free: 4.859 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.255, allocations: 0 / 1.3 GB, free: 4.859 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.695e-06/1.255, allocations: 0 / 1.3 GB, free: 4.859 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.492e-05/1.255, allocations: 0 / 1.3 GB, free: 4.859 MB / 1.029 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.004744/1.26, allocations: 1.63 MB / 1.302 GB, free: 3.172 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.26, allocations: 8.031 kB / 1.302 GB, free: 3.164 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/1.263, allocations: 0.537 MB / 1.302 GB, free: 2.625 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/1.266, allocations: 1.034 MB / 1.303 GB, free: 1.547 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.92e-05/1.266, allocations: 57.31 kB / 1.303 GB, free: 1.492 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/1.267, allocations: 71.98 kB / 1.304 GB, free: 1.422 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/1.269, allocations: 1.101 MB / 1.305 GB, free: 300 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/1.269, allocations: 3.938 kB / 1.305 GB, free: 296 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/1.269, allocations: 28 kB / 1.305 GB, free: 268 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-05/1.27, allocations: 29.3 kB / 1.305 GB, free: 240 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003135/1.273, allocations: 1.161 MB / 1.306 GB, free: 15.07 MB / 1.045 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.006977/1.28, allocations: 3.178 MB / 1.309 GB, free: 11.81 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/1.281, allocations: 0.6918 MB / 1.31 GB, free: 11.11 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008281/1.282, allocations: 418.2 kB / 1.31 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009653/1.283, allocations: 1.021 MB / 1.311 GB, free: 9.461 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/1.284, allocations: 0.5104 MB / 1.312 GB, free: 8.914 MB / 1.045 GB Notification: Performance of pre-optimization done (n=57): time 3.546e-06/1.284, allocations: 0 / 1.312 GB, free: 8.914 MB / 1.045 GB Notification: Performance of matching and sorting (n=57): time 0.003258/1.288, allocations: 1.225 MB / 1.313 GB, free: 7.684 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.724e-05/1.288, allocations: 144.8 kB / 1.313 GB, free: 7.512 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002277/1.29, allocations: 1.176 MB / 1.314 GB, free: 6.32 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001268/1.29, allocations: 37.7 kB / 1.314 GB, free: 6.277 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/1.291, allocations: 441.4 kB / 1.314 GB, free: 5.844 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/1.291, allocations: 189.2 kB / 1.315 GB, free: 5.656 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003215/1.291, allocations: 142.1 kB / 1.315 GB, free: 5.512 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.291, allocations: 334 kB / 1.315 GB, free: 5.18 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/1.293, allocations: 432.9 kB / 1.315 GB, free: 4.754 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/1.294, allocations: 0.6016 MB / 1.316 GB, free: 4.105 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002096/1.296, allocations: 0.934 MB / 1.317 GB, free: 3.113 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/1.296, allocations: 0 / 1.317 GB, free: 3.113 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003292/1.3, allocations: 1.201 MB / 1.318 GB, free: 1.898 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.667e-05/1.3, allocations: 35.73 kB / 1.318 GB, free: 1.859 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/1.3, allocations: 4 kB / 1.318 GB, free: 1.855 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/1.3, allocations: 4 kB / 1.318 GB, free: 1.852 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009579/1.301, allocations: 188 kB / 1.318 GB, free: 1.668 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.368e-05/1.301, allocations: 19.86 kB / 1.318 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/1.302, allocations: 242.8 kB / 1.319 GB, free: 1.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/1.302, allocations: 39.97 kB / 1.319 GB, free: 1.371 MB / 1.045 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.000631/1.303, allocations: 323.3 kB / 1.319 GB, free: 1.039 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/1.303, allocations: 110.7 kB / 1.319 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/1.306, allocations: 0.9863 MB / 1.32 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/1.306, allocations: 11.98 kB / 1.32 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/1.306, allocations: 7.875 kB / 1.32 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.306, allocations: 0 / 1.32 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005315/1.311, allocations: 3.163 MB / 1.323 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/1.311, allocations: 8 kB / 1.323 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005999/1.312, allocations: 115.8 kB / 1.323 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.932e-05/1.312, allocations: 12 kB / 1.323 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.253e-05/1.312, allocations: 36.08 kB / 1.323 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.279e-05/1.312, allocations: 11.94 kB / 1.323 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.351e-05/1.312, allocations: 11.94 kB / 1.323 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/1.314, allocations: 1.349 MB / 1.325 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006487/1.315, allocations: 327.3 kB / 1.325 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003138/1.315, allocations: 27.98 kB / 1.325 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/1.316, allocations: 95.91 kB / 1.325 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/1.317, allocations: 71.55 kB / 1.325 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/1.317, allocations: 35.98 kB / 1.325 GB, free: 10.37 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001759/1.318, allocations: 0.8521 MB / 1.326 GB, free: 9.512 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.41e-07/1.318, allocations: 0 / 1.326 GB, free: 9.512 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001263/1.32, allocations: 307.8 kB / 1.326 GB, free: 9.211 MB / 1.061 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.0008902/1.321, allocations: 350.9 kB / 1.327 GB, free: 8.871 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002549/1.323, allocations: 1.009 MB / 1.328 GB, free: 7.852 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/1.323, allocations: 4 kB / 1.328 GB, free: 7.848 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009729/1.324, allocations: 0.5125 MB / 1.328 GB, free: 7.324 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003128/1.327, allocations: 0.548 MB / 1.329 GB, free: 6.789 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/1.332, allocations: 2.061 MB / 1.331 GB, free: 4.594 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008627/1.332, allocations: 1.069 MB / 1.332 GB, free: 3.492 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004155/1.333, allocations: 91.41 kB / 1.332 GB, free: 3.402 MB / 1.061 GB Notification: Performance of SimCode: time 1.252e-06/1.333, allocations: 0 / 1.332 GB, free: 3.402 MB / 1.061 GB Notification: Performance of Templates: time 0.02975/1.363, allocations: 18.81 MB / 1.35 GB, free: 0.7148 MB / 1.076 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches