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.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.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.001207/0.001207, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.00112/0.00112, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.312/1.312, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.214/2.214, allocations: 390.2 MB / 0.6653 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001444, allocations: 65.06 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2926, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.002082/0.2948, allocations: 0.5302 MB / 0.9508 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001421/0.295, allocations: 23.89 kB / 0.9508 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.295, allocations: 0 / 0.9508 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.295, allocations: 0 / 0.9508 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.2952, allocations: 0 / 0.9508 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.128e-06/0.2952, allocations: 0 / 0.9508 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.394e-05/0.2953, allocations: 7.938 kB / 0.9508 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.2953, allocations: 0 / 0.9508 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.748e-05/0.2954, allocations: 11.92 kB / 0.9508 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.804e-05/0.2954, allocations: 0 / 0.9508 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.2954, allocations: 0 / 0.9508 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.563e-06/0.2955, allocations: 4 kB / 0.9508 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.2955, allocations: 0 / 0.9508 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.2955, allocations: 7.922 kB / 0.9508 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 4.685e-05/0.2956, allocations: 4 kB / 0.9508 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2956, allocations: 0 / 0.9508 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2956, allocations: 0 / 0.9508 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2956, allocations: 0 / 0.9508 GB, free: 8.289 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.0003169/0.2959, allocations: 319.5 kB / 0.9511 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.2959, allocations: 8.031 kB / 0.9511 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.296, allocations: 0.9375 kB / 0.9511 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.2961, allocations: 168.4 kB / 0.9513 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.2961, allocations: 384 / 0.9513 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.2961, allocations: 384 / 0.9513 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.2963, allocations: 51.91 kB / 0.9514 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2963, allocations: 192 / 0.9514 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2963, allocations: 3.938 kB / 0.9514 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2963, allocations: 0 / 0.9514 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.656e-05/0.2963, allocations: 4 kB / 0.9514 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.2965, allocations: 158.6 kB / 0.9515 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.386e-05/0.2966, allocations: 37.09 kB / 0.9515 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/0.2966, allocations: 21.81 kB / 0.9516 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.2966, allocations: 0 / 0.9516 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.2967, allocations: 42.56 kB / 0.9516 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2967, allocations: 0 / 0.9516 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001485/0.2968, allocations: 41.58 kB / 0.9516 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.2969, allocations: 81.09 kB / 0.9517 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.581e-05/0.297, allocations: 101.8 kB / 0.9518 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.297, allocations: 33.58 kB / 0.9519 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.297, allocations: 80.52 kB / 0.9519 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.297, allocations: 12.12 kB / 0.9519 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.2971, allocations: 13.72 kB / 0.952 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2972, allocations: 314.8 kB / 0.9523 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.2972, allocations: 0 / 0.9523 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.145e-05/0.2972, allocations: 17.7 kB / 0.9523 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.469e-05/0.2973, allocations: 17.78 kB / 0.9523 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2973, allocations: 0 / 0.9523 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.255e-05/0.2974, allocations: 41.64 kB / 0.9523 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2974, allocations: 8 kB / 0.9523 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2974, allocations: 7.922 kB / 0.9523 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2974, allocations: 0 / 0.9523 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.184e-05/0.2975, allocations: 4 kB / 0.9524 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2975, allocations: 0 / 0.9524 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.2975, allocations: 0 / 0.9524 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.2975, allocations: 8 kB / 0.9524 GB, free: 6.461 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 6.703e-05/0.2976, allocations: 109.9 kB / 0.9525 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.2976, allocations: 4 kB / 0.9525 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.2978, allocations: 56.69 kB / 0.9525 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.2978, allocations: 0 / 0.9525 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2978, allocations: 0 / 0.9525 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2978, allocations: 0 / 0.9525 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.2979, allocations: 149.7 kB / 0.9527 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2979, allocations: 4.062 kB / 0.9527 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.2979, allocations: 7.938 kB / 0.9527 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2979, allocations: 0 / 0.9527 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.2979, allocations: 3.938 kB / 0.9527 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.298, allocations: 0 / 0.9527 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.298, allocations: 0 / 0.9527 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.793e-05/0.2981, allocations: 73.98 kB / 0.9527 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.2981, allocations: 81.02 kB / 0.9528 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.2981, allocations: 7.922 kB / 0.9528 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.713e-05/0.2982, allocations: 4 kB / 0.9528 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.027e-05/0.2982, allocations: 4 kB / 0.9528 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.2982, allocations: 3.938 kB / 0.9528 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.2982, allocations: 79.22 kB / 0.9529 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.2982, allocations: 0 / 0.9529 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001815/0.2984, allocations: 4 kB / 0.9529 GB, free: 5.773 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.0001045/0.2985, allocations: 99.38 kB / 0.953 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.895e-05/0.2986, allocations: 4 kB / 0.953 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2986, allocations: 0 / 0.953 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-05/0.2987, allocations: 19.86 kB / 0.953 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.2988, allocations: 6.344 kB / 0.953 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.2991, allocations: 115.9 kB / 0.9532 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.2993, allocations: 0.6805 MB / 0.9538 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.2994, allocations: 7.438 kB / 0.9538 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.2994, allocations: 0 / 0.9538 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of Templates: time 0.001749/0.3011, allocations: 370.2 kB / 0.9542 GB, free: 4.418 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 -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