Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example5.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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002554/0.002554, allocations: 188.5 kB / 16.25 MB, free: 6.645 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.412/2.412, allocations: 390.2 MB / 0.6643 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 63.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6896/0.6911, allocations: 140.4 MB / 0.9491 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001616/0.6928, allocations: 0.5892 MB / 0.9497 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000149/0.6929, allocations: 42.11 kB / 0.9497 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.693, allocations: 0 / 0.9497 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.693, allocations: 0 / 0.9497 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.6932, allocations: 5.562 kB / 0.9497 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.451e-05/0.6932, allocations: 10.97 kB / 0.9497 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.698e-05/0.6933, allocations: 13.25 kB / 0.9497 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.6933, allocations: 2 kB / 0.9497 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.667e-05/0.6934, allocations: 6 kB / 0.9497 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.6935, allocations: 8.234 kB / 0.9498 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.6935, allocations: 7.938 kB / 0.9498 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-06/0.6935, allocations: 1.312 kB / 0.9498 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.6935, allocations: 2.594 kB / 0.9498 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.381e-05/0.6936, allocations: 5.25 kB / 0.9498 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.001e-05/0.6936, allocations: 19.47 kB / 0.9498 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.6936, allocations: 0 / 0.9498 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6936, allocations: 5.094 kB / 0.9498 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.6937, allocations: 0 / 0.9498 GB, free: 8.664 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003184/0.694, allocations: 322.3 kB / 0.9501 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.694, allocations: 13.22 kB / 0.9501 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.694, allocations: 5.781 kB / 0.9501 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.6942, allocations: 180.3 kB / 0.9503 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-06/0.6942, allocations: 384 / 0.9503 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.6942, allocations: 1.719 kB / 0.9503 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.373e-05/0.6943, allocations: 33 kB / 0.9503 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.6943, allocations: 1.562 kB / 0.9503 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.6943, allocations: 7.875 kB / 0.9503 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.6943, allocations: 0 / 0.9503 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.648e-05/0.6943, allocations: 2.781 kB / 0.9503 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001008/0.6944, allocations: 157.9 kB / 0.9505 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.227e-05/0.6945, allocations: 21.36 kB / 0.9505 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.6945, allocations: 11.59 kB / 0.9505 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-06/0.6945, allocations: 0 / 0.9505 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.266e-05/0.6945, allocations: 36 kB / 0.9506 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.6945, allocations: 0 / 0.9506 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001167/0.6947, allocations: 47.34 kB / 0.9506 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.6947, allocations: 56.69 kB / 0.9507 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.553e-05/0.6948, allocations: 108.9 kB / 0.9508 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.6948, allocations: 25.7 kB / 0.9508 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.073e-05/0.6948, allocations: 85.05 kB / 0.9509 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.6948, allocations: 9.359 kB / 0.9509 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.6949, allocations: 12.94 kB / 0.9509 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.033e-05/0.6949, allocations: 314.8 kB / 0.9512 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.487e-05/0.6949, allocations: 7.875 kB / 0.9512 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.939e-05/0.6949, allocations: 17.11 kB / 0.9512 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.516e-05/0.695, allocations: 17.03 kB / 0.9512 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.695, allocations: 0 / 0.9512 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.109e-05/0.6951, allocations: 49.88 kB / 0.9513 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.6951, allocations: 5.938 kB / 0.9513 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.6951, allocations: 7.938 kB / 0.9513 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.6951, allocations: 5.516 kB / 0.9513 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.685e-05/0.6952, allocations: 2.5 kB / 0.9513 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.6952, allocations: 1.625 kB / 0.9513 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.183e-05/0.6952, allocations: 1.281 kB / 0.9513 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.6952, allocations: 1.469 kB / 0.9513 GB, free: 7.004 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.1e-05/0.6953, allocations: 107.4 kB / 0.9514 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.6953, allocations: 9.188 kB / 0.9514 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.221e-05/0.6954, allocations: 63.2 kB / 0.9515 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.6954, allocations: 5.062 kB / 0.9515 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.6954, allocations: 0 / 0.9515 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6954, allocations: 1.188 kB / 0.9515 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.264e-05/0.6954, allocations: 155.2 kB / 0.9516 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6954, allocations: 7.938 kB / 0.9516 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.583e-05/0.6955, allocations: 3.812 kB / 0.9516 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6955, allocations: 3.984 kB / 0.9516 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.6955, allocations: 3.938 kB / 0.9516 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.6955, allocations: 1.531 kB / 0.9516 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6955, allocations: 8.016 kB / 0.9516 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.282e-05/0.6956, allocations: 78.53 kB / 0.9517 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.6957, allocations: 83.84 kB / 0.9518 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.6957, allocations: 3.938 kB / 0.9518 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.161e-05/0.6957, allocations: 1.438 kB / 0.9518 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.6957, allocations: 1.312 kB / 0.9518 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.6957, allocations: 0 / 0.9518 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.922e-05/0.6958, allocations: 95.61 kB / 0.9519 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6958, allocations: 0 / 0.9519 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001795/0.696, allocations: 2.656 kB / 0.9519 GB, free: 6.332 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 7.031e-05/0.696, allocations: 94.34 kB / 0.952 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.181e-05/0.6961, allocations: 21.55 kB / 0.952 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6961, allocations: 0 / 0.952 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.357e-05/0.6961, allocations: 5.5 kB / 0.952 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.6963, allocations: 5.562 kB / 0.952 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002063/0.6965, allocations: 123.4 kB / 0.9521 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.687e-05/0.6966, allocations: 0.682 MB / 0.9528 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.459e-05/0.6966, allocations: 6.734 kB / 0.9528 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.896e-05/0.6966, allocations: 8.812 kB / 0.9528 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6966, allocations: 0 / 0.9528 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of Templates: time 0.001858/0.6985, allocations: 320.7 kB / 0.9531 GB, free: 5.219 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches