Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_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.0008632/0.0008633, allocations: 99.27 kB / 16.02 MB, free: 76 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.0009164/0.0009165, allocations: 186.5 kB / 16.92 MB, free: 6.75 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.326/1.326, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.709/2.709, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003746, allocations: 13.25 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3148, allocations: 159.6 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0006868/0.3156, allocations: 262.9 kB / 1.06 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001194/0.3157, allocations: 15.91 kB / 1.06 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.214e-05/0.3157, allocations: 0 / 1.06 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.147e-05/0.3158, allocations: 0 / 1.06 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.3159, allocations: 7.984 kB / 1.06 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.238e-06/0.3159, allocations: 0 / 1.06 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.104e-05/0.316, allocations: 11.94 kB / 1.06 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.321e-05/0.316, allocations: 0 / 1.06 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.011e-05/0.3161, allocations: 4 kB / 1.06 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.914e-05/0.3161, allocations: 0 / 1.06 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.3161, allocations: 0 / 1.06 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-06/0.3162, allocations: 0 / 1.06 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.3162, allocations: 3.938 kB / 1.06 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.3162, allocations: 25.7 kB / 1.06 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 3.394e-05/0.3163, allocations: 7.984 kB / 1.06 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3163, allocations: 0 / 1.06 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3163, allocations: 0 / 1.06 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.3163, allocations: 0 / 1.06 GB, free: 4.586 MB / 0.8106 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.0002597/0.3165, allocations: 319.5 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3166, allocations: 16.03 kB / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.3166, allocations: 0.9375 kB / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.3167, allocations: 168.3 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3167, allocations: 384 / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.3168, allocations: 4.375 kB / 1.06 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.3169, allocations: 43.97 kB / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.3169, allocations: 4.188 kB / 1.06 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3169, allocations: 3.938 kB / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3169, allocations: 0 / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.3169, allocations: 3.938 kB / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.3171, allocations: 158.5 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.567e-05/0.3172, allocations: 37.22 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.942e-05/0.3172, allocations: 13.84 kB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.3172, allocations: 7.938 kB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.3172, allocations: 34.56 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 3.686e-06/0.3172, allocations: 0 / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001306/0.3174, allocations: 53.5 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.3174, allocations: 81.36 kB / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.381e-05/0.3175, allocations: 93.86 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.3175, allocations: 29.64 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/0.3176, allocations: 80.14 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.3176, allocations: 16.12 kB / 1.061 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.3176, allocations: 9.719 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.3177, allocations: 314.8 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-06/0.3177, allocations: 0 / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.685e-05/0.3178, allocations: 17.84 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.44e-05/0.3178, allocations: 21.66 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3178, allocations: 0 / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.001e-05/0.3179, allocations: 37.69 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3179, allocations: 8 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3179, allocations: 3.938 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3179, allocations: 4.125 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.993e-05/0.318, allocations: 7.938 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.318, allocations: 0 / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.318, allocations: 0 / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-06/0.318, allocations: 8 kB / 1.061 GB, free: 2.754 MB / 0.8106 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 6.665e-05/0.3181, allocations: 105.8 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.3181, allocations: 3.984 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.3182, allocations: 56.7 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3183, allocations: 3.984 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3183, allocations: 4 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3183, allocations: 0 / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.75e-05/0.3184, allocations: 145.7 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3184, allocations: 0 / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/0.3184, allocations: 4 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.3184, allocations: 3.984 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3184, allocations: 3.938 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3184, allocations: 0 / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3184, allocations: 0 / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.232e-05/0.3185, allocations: 81.91 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.3186, allocations: 85.08 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.3186, allocations: 3.938 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.777e-05/0.3187, allocations: 7.938 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.3187, allocations: 0 / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.3187, allocations: 0 / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.675e-05/0.3187, allocations: 79.31 kB / 1.062 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3187, allocations: 4 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001866/0.3189, allocations: 0 / 1.062 GB, free: 2.07 MB / 0.8106 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.0001053/0.319, allocations: 97.75 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.665e-05/0.3191, allocations: 15.92 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3191, allocations: 0 / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/0.3191, allocations: 12.16 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.3193, allocations: 4 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002021/0.3195, allocations: 117.3 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.3197, allocations: 0.6692 MB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.3197, allocations: 11.44 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of SimCode: time 4.01e-07/0.3197, allocations: 0 / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of Templates: time 0.001417/0.3211, allocations: 360.2 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches