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.00143/0.00143, allocations: 104.5 kB / 16.35 MB, free: 5.828 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.00155/0.00155, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.514/2.514, allocations: 442.5 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001312, allocations: 63.28 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3016, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.00169/0.3034, allocations: 0.5305 MB / 1.027 GB, free: 1.488 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001162/0.3035, allocations: 15.95 kB / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.434e-05/0.3035, allocations: 0 / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.3035, allocations: 3.938 kB / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.3037, allocations: 4 kB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.757e-06/0.3037, allocations: 0 / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.426e-05/0.3038, allocations: 4 kB / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.857e-05/0.3038, allocations: 3.984 kB / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.305e-05/0.3039, allocations: 11.94 kB / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.216e-05/0.3039, allocations: 3.938 kB / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.3039, allocations: 0 / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.793e-06/0.3039, allocations: 0 / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.3039, allocations: 0 / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.304, allocations: 7.984 kB / 1.027 GB, free: 1.434 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 4.484e-05/0.304, allocations: 0 / 1.027 GB, free: 1.434 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.304, allocations: 0 / 1.027 GB, free: 1.434 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.583e-06/0.304, allocations: 0 / 1.027 GB, free: 1.434 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.304, allocations: 0 / 1.027 GB, free: 1.434 MB / 0.795 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.0003054/0.3044, allocations: 319.6 kB / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3044, allocations: 12.03 kB / 1.028 GB, free: 1.059 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.3044, allocations: 0.9375 kB / 1.028 GB, free: 1.059 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.3045, allocations: 164.3 kB / 1.028 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3046, allocations: 384 / 1.028 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.3046, allocations: 384 / 1.028 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.3047, allocations: 47.91 kB / 1.028 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.3047, allocations: 192 / 1.028 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.3047, allocations: 7.938 kB / 1.028 GB, free: 0.793 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3047, allocations: 4 kB / 1.028 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.116e-05/0.3047, allocations: 4 kB / 1.028 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.3049, allocations: 154.5 kB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.53e-05/0.305, allocations: 45.2 kB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.305, allocations: 13.72 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.305, allocations: 4 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.305, allocations: 42.56 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.3051, allocations: 0 / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001431/0.3052, allocations: 45.56 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.3053, allocations: 77.11 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.608e-05/0.3053, allocations: 102.1 kB / 1.028 GB, free: 196 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3054, allocations: 25.7 kB / 1.028 GB, free: 164 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.3054, allocations: 82.59 kB / 1.028 GB, free: 80 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.3054, allocations: 7.844 kB / 1.028 GB, free: 72 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.3055, allocations: 13.72 kB / 1.028 GB, free: 52 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3056, allocations: 318.8 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.208e-05/0.3056, allocations: 4 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.492e-05/0.3056, allocations: 13.84 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.911e-05/0.3057, allocations: 17.78 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3057, allocations: 0 / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.339e-05/0.3057, allocations: 49.62 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.3058, allocations: 4 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3058, allocations: 3.938 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.3058, allocations: 0 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.3059, allocations: 4 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3059, allocations: 4.062 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.803e-05/0.3059, allocations: 4 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.3059, allocations: 0 / 1.029 GB, free: 15.61 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.298e-05/0.306, allocations: 109.8 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.306, allocations: 4 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.3061, allocations: 56.62 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.3061, allocations: 4.062 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3061, allocations: 0 / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.3061, allocations: 3.984 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.3062, allocations: 153.6 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3062, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.519e-05/0.3063, allocations: 11.92 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3063, allocations: 0 / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.3063, allocations: 3.938 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3063, allocations: 7.984 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3063, allocations: 0 / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.904e-05/0.3064, allocations: 66 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.3064, allocations: 81.09 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.3065, allocations: 7.938 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.422e-05/0.3065, allocations: 0 / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.3065, allocations: 0 / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.3065, allocations: 0 / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.947e-05/0.3065, allocations: 87.31 kB / 1.029 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3065, allocations: 3.938 kB / 1.029 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001772/0.3067, allocations: 0 / 1.029 GB, free: 14.91 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 8.904e-05/0.3068, allocations: 99.19 kB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.648e-05/0.3069, allocations: 11.98 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3069, allocations: 0 / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.045e-05/0.3069, allocations: 7.938 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.3071, allocations: 6.844 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001968/0.3073, allocations: 89.94 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.3075, allocations: 0.6729 MB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.73e-05/0.3075, allocations: 4 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.3075, allocations: 7.438 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3076, allocations: 0 / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of Templates: time 0.001851/0.3094, allocations: 197 kB / 1.03 GB, free: 13.76 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 -s cvode -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