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.001472/0.001472, allocations: 106.3 kB / 16.37 MB, free: 6.477 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.001487/0.001487, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.265/2.265, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001265, allocations: 61.2 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3128, allocations: 140.4 MB / 0.9511 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001898/0.3147, allocations: 0.5259 MB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001291/0.3149, allocations: 11.92 kB / 0.9516 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.69e-05/0.3149, allocations: 0 / 0.9516 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.3149, allocations: 0 / 0.9516 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.3151, allocations: 11.92 kB / 0.9516 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.667e-06/0.3151, allocations: 4 kB / 0.9517 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.573e-05/0.3152, allocations: 7.984 kB / 0.9517 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.949e-05/0.3153, allocations: 4 kB / 0.9517 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.631e-05/0.3153, allocations: 4 kB / 0.9517 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.951e-05/0.3154, allocations: 0 / 0.9517 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.3154, allocations: 0 / 0.9517 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.844e-06/0.3154, allocations: 3.938 kB / 0.9517 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.301e-05/0.3154, allocations: 3.938 kB / 0.9517 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.3154, allocations: 7.922 kB / 0.9517 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 4.922e-05/0.3155, allocations: 7.984 kB / 0.9517 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3155, allocations: 4 kB / 0.9517 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3155, allocations: 0 / 0.9517 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.3155, allocations: 0 / 0.9517 GB, free: 7.508 MB / 0.7325 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.0003107/0.3158, allocations: 315.5 kB / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3159, allocations: 8.031 kB / 0.952 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.3159, allocations: 4.938 kB / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.316, allocations: 164.4 kB / 0.9522 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.316, allocations: 384 / 0.9522 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.316, allocations: 384 / 0.9522 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.3162, allocations: 47.92 kB / 0.9522 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.3162, allocations: 192 / 0.9522 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3162, allocations: 3.938 kB / 0.9522 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3162, allocations: 0 / 0.9522 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.889e-05/0.3162, allocations: 15.92 kB / 0.9522 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.3164, allocations: 150.6 kB / 0.9524 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.455e-05/0.3165, allocations: 49.22 kB / 0.9524 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.3165, allocations: 9.719 kB / 0.9524 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.3165, allocations: 3.984 kB / 0.9524 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.3166, allocations: 34.56 kB / 0.9525 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3166, allocations: 0 / 0.9525 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001347/0.3167, allocations: 49.8 kB / 0.9525 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.3168, allocations: 77.11 kB / 0.9526 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.802e-05/0.3168, allocations: 97.84 kB / 0.9527 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.3168, allocations: 29.7 kB / 0.9527 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/0.3169, allocations: 80.14 kB / 0.9528 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.3169, allocations: 7.844 kB / 0.9528 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.3169, allocations: 13.72 kB / 0.9528 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3171, allocations: 311 kB / 0.9531 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.3171, allocations: 8 kB / 0.9531 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.516e-05/0.3171, allocations: 13.72 kB / 0.9531 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/0.3171, allocations: 21.64 kB / 0.9531 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3172, allocations: 0 / 0.9531 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.2e-05/0.3172, allocations: 45.64 kB / 0.9532 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3172, allocations: 10.31 kB / 0.9532 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3173, allocations: 3.938 kB / 0.9532 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3173, allocations: 4 kB / 0.9532 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.024e-05/0.3173, allocations: 7.984 kB / 0.9532 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3174, allocations: 0 / 0.9532 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.3174, allocations: 3.938 kB / 0.9532 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3174, allocations: 4 kB / 0.9532 GB, free: 5.684 MB / 0.7325 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 8.271e-05/0.3175, allocations: 105.8 kB / 0.9533 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-06/0.3175, allocations: 0 / 0.9533 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.3176, allocations: 60.69 kB / 0.9534 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.3176, allocations: 0 / 0.9534 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3176, allocations: 0 / 0.9534 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3176, allocations: 7.922 kB / 0.9534 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.909e-05/0.3177, allocations: 153.7 kB / 0.9535 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3177, allocations: 0 / 0.9535 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.3178, allocations: 4 kB / 0.9535 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3178, allocations: 0 / 0.9535 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3178, allocations: 4 kB / 0.9535 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3178, allocations: 4 kB / 0.9535 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3178, allocations: 4 kB / 0.9535 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.717e-05/0.3179, allocations: 69.92 kB / 0.9536 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.97e-05/0.318, allocations: 81.02 kB / 0.9537 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.318, allocations: 3.938 kB / 0.9537 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.469e-05/0.318, allocations: 4 kB / 0.9537 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-05/0.318, allocations: 8.016 kB / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.318, allocations: 0 / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.164e-05/0.3181, allocations: 83.28 kB / 0.9538 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3181, allocations: 0 / 0.9538 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001789/0.3183, allocations: 0 / 0.9538 GB, free: 4.996 MB / 0.7325 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 0.0001175/0.3184, allocations: 95.25 kB / 0.9539 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.628e-05/0.3185, allocations: 12.03 kB / 0.9539 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3185, allocations: 4 kB / 0.9539 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.528e-06/0.3185, allocations: 4 kB / 0.9539 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.3186, allocations: 7.984 kB / 0.9539 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002153/0.3189, allocations: 89.88 kB / 0.954 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.3192, allocations: 0.6766 MB / 0.9547 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.652e-05/0.3192, allocations: 256 / 0.9547 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.3192, allocations: 15.44 kB / 0.9547 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.3192, allocations: 0 / 0.9547 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of Templates: time 0.001868/0.3211, allocations: 201.1 kB / 0.9549 GB, free: 3.836 MB / 0.7325 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 -s cvode -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