Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example8.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 92.62 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001504, allocations: 178.4 kB / 16.92 MB, free: 6.652 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.374/1.374, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.9 MB / 0.667 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003958, allocations: 11.98 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7129/0.7133, allocations: 142.4 MB / 0.9557 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0006907/0.7141, allocations: 267.2 kB / 0.9559 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001209/0.7142, allocations: 12.09 kB / 0.956 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.7142, allocations: 0 / 0.956 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.444e-05/0.7143, allocations: 3.938 kB / 0.956 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.7144, allocations: 6.219 kB / 0.956 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.876e-06/0.7144, allocations: 0 / 0.956 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.241e-05/0.7145, allocations: 6.781 kB / 0.956 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.7145, allocations: 1.5 kB / 0.956 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.287e-05/0.7146, allocations: 1.219 kB / 0.956 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.248e-05/0.7146, allocations: 5.391 kB / 0.956 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.7146, allocations: 4 kB / 0.956 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-06/0.7146, allocations: 0 / 0.956 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.7147, allocations: 5.438 kB / 0.956 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.96e-05/0.7147, allocations: 33.62 kB / 0.956 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.532e-05/0.7147, allocations: 1.344 kB / 0.956 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7147, allocations: 0 / 0.956 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7147, allocations: 0 / 0.956 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.7148, allocations: 1.406 kB / 0.956 GB, free: 7.434 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001967/0.715, allocations: 305 kB / 0.9563 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.715, allocations: 9.438 kB / 0.9563 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.715, allocations: 14.41 kB / 0.9563 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.906e-05/0.7151, allocations: 168.4 kB / 0.9565 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.7151, allocations: 5.781 kB / 0.9565 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-06/0.7151, allocations: 384 / 0.9565 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.082e-05/0.7152, allocations: 39.45 kB / 0.9565 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.7153, allocations: 1.344 kB / 0.9565 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.7153, allocations: 7.875 kB / 0.9566 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.7153, allocations: 1.219 kB / 0.9566 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.264e-05/0.7153, allocations: 6.344 kB / 0.9566 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.7154, allocations: 157.1 kB / 0.9567 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.159e-05/0.7155, allocations: 40.38 kB / 0.9567 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.7155, allocations: 12.69 kB / 0.9568 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.7155, allocations: 0 / 0.9568 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.7155, allocations: 39.92 kB / 0.9568 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.7156, allocations: 0 / 0.9568 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001346/0.7157, allocations: 47.64 kB / 0.9568 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.7157, allocations: 78.14 kB / 0.9569 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.749e-05/0.7158, allocations: 90.92 kB / 0.957 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.782e-06/0.7158, allocations: 26.08 kB / 0.957 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.165e-05/0.7158, allocations: 85.2 kB / 0.9571 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.7158, allocations: 15.14 kB / 0.9571 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.7159, allocations: 9.719 kB / 0.9571 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.752e-05/0.7159, allocations: 312.1 kB / 0.9574 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-06/0.7159, allocations: 1.125 kB / 0.9574 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.177e-05/0.7159, allocations: 16.06 kB / 0.9574 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.105e-05/0.716, allocations: 23.72 kB / 0.9575 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.716, allocations: 3.938 kB / 0.9575 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.431e-05/0.716, allocations: 42.88 kB / 0.9575 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.7161, allocations: 4.844 kB / 0.9575 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.7161, allocations: 3.938 kB / 0.9575 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.7161, allocations: 1 kB / 0.9575 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.773e-05/0.7162, allocations: 3.656 kB / 0.9575 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.7162, allocations: 1 kB / 0.9575 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.72e-05/0.7162, allocations: 0 / 0.9575 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.7162, allocations: 9.5 kB / 0.9575 GB, free: 5.699 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 4.721e-05/0.7163, allocations: 112.5 kB / 0.9576 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-06/0.7163, allocations: 3.984 kB / 0.9577 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.869e-05/0.7164, allocations: 54.59 kB / 0.9577 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.7164, allocations: 0 / 0.9577 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.7164, allocations: 1.375 kB / 0.9577 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.7164, allocations: 0 / 0.9577 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.796e-05/0.7165, allocations: 148.7 kB / 0.9578 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7165, allocations: 0 / 0.9578 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-05/0.7165, allocations: 6.891 kB / 0.9579 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.7165, allocations: 5.25 kB / 0.9579 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.7165, allocations: 5.406 kB / 0.9579 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.7165, allocations: 0 / 0.9579 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7165, allocations: 5.375 kB / 0.9579 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.06e-05/0.7166, allocations: 74.3 kB / 0.9579 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.7166, allocations: 78.86 kB / 0.958 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.7167, allocations: 5.281 kB / 0.958 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.558e-05/0.7167, allocations: 4 kB / 0.958 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.022e-05/0.7167, allocations: 1.406 kB / 0.958 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.7167, allocations: 1.719 kB / 0.958 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.757e-05/0.7167, allocations: 76.75 kB / 0.9581 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.51e-07/0.7167, allocations: 0 / 0.9581 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001866/0.7169, allocations: 5.438 kB / 0.9581 GB, free: 5.055 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 9.69e-05/0.717, allocations: 102.4 kB / 0.9582 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.718e-05/0.7171, allocations: 13.91 kB / 0.9582 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.7171, allocations: 0 / 0.9582 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.388e-06/0.7171, allocations: 3.75 kB / 0.9582 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.7173, allocations: 2.094 kB / 0.9582 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001916/0.7175, allocations: 137.4 kB / 0.9584 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.106e-05/0.7176, allocations: 0.6719 MB / 0.959 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.7176, allocations: 8.656 kB / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.7176, allocations: 0 / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of Templates: time 0.001479/0.7191, allocations: 365 kB / 0.9594 GB, free: 3.91 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches