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.001748/0.001749, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001981/0.001981, allocations: 192.8 kB / 16.25 MB, free: 6.625 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.388/1.388, allocations: 222.9 MB / 239.9 MB, free: 4.496 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.331/2.331, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6023/0.6036, allocations: 140.4 MB / 0.9491 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001833/0.6055, allocations: 0.5931 MB / 0.9497 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001209/0.6056, allocations: 14.92 kB / 0.9497 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.6057, allocations: 0 / 0.9497 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.252e-05/0.6057, allocations: 0 / 0.9497 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.6058, allocations: 2.219 kB / 0.9497 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.086e-06/0.6059, allocations: 0 / 0.9497 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.034e-05/0.6059, allocations: 19.91 kB / 0.9497 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.606, allocations: 4 kB / 0.9497 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.95e-05/0.606, allocations: 5.656 kB / 0.9497 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.203e-05/0.606, allocations: 1.344 kB / 0.9497 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.606, allocations: 0 / 0.9497 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.262e-06/0.6061, allocations: 0 / 0.9497 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.147e-06/0.6061, allocations: 1.312 kB / 0.9497 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.335e-05/0.6061, allocations: 3.938 kB / 0.9497 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.604e-05/0.6061, allocations: 1.344 kB / 0.9497 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.6061, allocations: 1.281 kB / 0.9497 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6061, allocations: 0 / 0.9497 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.6061, allocations: 0 / 0.9497 GB, free: 8.629 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001948/0.6063, allocations: 315.4 kB / 0.95 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.6064, allocations: 9.562 kB / 0.95 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.6064, allocations: 6.25 kB / 0.95 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.28e-05/0.6065, allocations: 168.4 kB / 0.9502 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.6065, allocations: 2 kB / 0.9502 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.6065, allocations: 384 / 0.9502 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.43e-05/0.6066, allocations: 48.06 kB / 0.9502 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.6066, allocations: 4.188 kB / 0.9502 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.6066, allocations: 5.312 kB / 0.9502 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.6066, allocations: 0 / 0.9502 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.6067, allocations: 7.125 kB / 0.9503 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001031/0.6068, allocations: 160.7 kB / 0.9504 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.459e-05/0.6068, allocations: 41.03 kB / 0.9504 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/0.6068, allocations: 15.34 kB / 0.9505 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.6069, allocations: 1.281 kB / 0.9505 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.6069, allocations: 36.06 kB / 0.9505 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.6069, allocations: 0 / 0.9505 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001324/0.607, allocations: 47.22 kB / 0.9505 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.6071, allocations: 81.3 kB / 0.9506 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.796e-05/0.6071, allocations: 95.3 kB / 0.9507 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.6071, allocations: 25.7 kB / 0.9507 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.016e-05/0.6071, allocations: 85.45 kB / 0.9508 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.6072, allocations: 11.25 kB / 0.9508 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.6072, allocations: 15.14 kB / 0.9508 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.261e-05/0.6073, allocations: 312.3 kB / 0.9511 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.6073, allocations: 1.375 kB / 0.9511 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.137e-05/0.6073, allocations: 16.62 kB / 0.9512 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.702e-05/0.6073, allocations: 18.03 kB / 0.9512 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6073, allocations: 1.156 kB / 0.9512 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.412e-05/0.6074, allocations: 46.41 kB / 0.9512 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.6074, allocations: 5.156 kB / 0.9512 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6074, allocations: 3.938 kB / 0.9512 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.6074, allocations: 5.062 kB / 0.9512 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-05/0.6075, allocations: 4.594 kB / 0.9512 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.6075, allocations: 0 / 0.9512 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.6075, allocations: 0 / 0.9512 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.6075, allocations: 1.375 kB / 0.9512 GB, free: 6.887 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.355e-05/0.6076, allocations: 116.2 kB / 0.9513 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.6076, allocations: 1.062 kB / 0.9513 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.32e-05/0.6077, allocations: 56.84 kB / 0.9514 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.6077, allocations: 1.438 kB / 0.9514 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.6077, allocations: 0 / 0.9514 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6077, allocations: 1.531 kB / 0.9514 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.263e-05/0.6078, allocations: 148 kB / 0.9515 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6078, allocations: 0 / 0.9515 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.402e-05/0.6078, allocations: 7.172 kB / 0.9516 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.6078, allocations: 5.75 kB / 0.9516 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.6078, allocations: 3.938 kB / 0.9516 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.6078, allocations: 1.594 kB / 0.9516 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6078, allocations: 4.062 kB / 0.9516 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.308e-05/0.6079, allocations: 67.23 kB / 0.9516 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.6079, allocations: 78.36 kB / 0.9517 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.608, allocations: 13.06 kB / 0.9517 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.593e-05/0.608, allocations: 1.469 kB / 0.9517 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.608, allocations: 0 / 0.9517 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.608, allocations: 5.375 kB / 0.9517 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.426e-05/0.608, allocations: 76.84 kB / 0.9518 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.608, allocations: 3.938 kB / 0.9518 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001935/0.6082, allocations: 1.469 kB / 0.9518 GB, free: 6.238 MB / 0.7169 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 7.872e-05/0.6083, allocations: 102.5 kB / 0.9519 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.822e-05/0.6084, allocations: 10.47 kB / 0.9519 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6084, allocations: 1.375 kB / 0.9519 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.298e-06/0.6084, allocations: 11.19 kB / 0.9519 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.6085, allocations: 2.656 kB / 0.9519 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001614/0.6087, allocations: 97.23 kB / 0.952 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.604e-05/0.6088, allocations: 0.6756 MB / 0.9527 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.851e-05/0.6088, allocations: 1.438 kB / 0.9527 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.781e-05/0.6089, allocations: 8.906 kB / 0.9527 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6089, allocations: 4.125 kB / 0.9527 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of Templates: time 0.001802/0.6107, allocations: 193.8 kB / 0.9529 GB, free: 5.199 MB / 0.7169 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches