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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007246/0.007246, allocations: 100.5 kB / 15.87 MB, free: 6.328 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.002084/0.002084, allocations: 193.9 kB / 16.79 MB, free: 6.254 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.387/1.387, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.428/2.428, allocations: 390.2 MB / 0.6649 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002465/0.002465, allocations: 59.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7157/0.7182, allocations: 140.4 MB / 0.9496 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001665/0.7199, allocations: 0.5869 MB / 0.9501 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001496/0.72, allocations: 50.73 kB / 0.9502 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.7201, allocations: 0 / 0.9502 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.7201, allocations: 0 / 0.9502 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.7203, allocations: 5.312 kB / 0.9502 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.107e-05/0.7203, allocations: 2.25 kB / 0.9502 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.831e-05/0.7204, allocations: 17.41 kB / 0.9502 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.7204, allocations: 1.125 kB / 0.9502 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.083e-05/0.7205, allocations: 6.281 kB / 0.9502 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.215e-05/0.7205, allocations: 12.42 kB / 0.9502 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.7206, allocations: 1.031 kB / 0.9502 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.7206, allocations: 1.188 kB / 0.9502 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.7206, allocations: 6.156 kB / 0.9502 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.7207, allocations: 5.094 kB / 0.9503 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.782e-05/0.7207, allocations: 11.39 kB / 0.9503 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.7207, allocations: 4 kB / 0.9503 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7207, allocations: 1.062 kB / 0.9503 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.7207, allocations: 0 / 0.9503 GB, free: 8.582 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.0003726/0.7211, allocations: 326.4 kB / 0.9506 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.7212, allocations: 8.969 kB / 0.9506 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.7212, allocations: 2.156 kB / 0.9506 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.7213, allocations: 187.9 kB / 0.9508 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.7214, allocations: 384 / 0.9508 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.7214, allocations: 1.5 kB / 0.9508 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.366e-05/0.7215, allocations: 33.66 kB / 0.9508 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.7215, allocations: 4.125 kB / 0.9508 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.7215, allocations: 5.125 kB / 0.9508 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.7215, allocations: 0 / 0.9508 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.79e-05/0.7215, allocations: 2.531 kB / 0.9508 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.7216, allocations: 157.6 kB / 0.951 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.211e-05/0.7217, allocations: 21.67 kB / 0.951 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.7217, allocations: 12.25 kB / 0.951 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.7217, allocations: 0 / 0.951 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.7218, allocations: 31.69 kB / 0.951 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.7218, allocations: 0 / 0.951 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.7219, allocations: 47.66 kB / 0.9511 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/0.7219, allocations: 55.53 kB / 0.9511 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.852e-05/0.722, allocations: 109.1 kB / 0.9512 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.722, allocations: 30.8 kB / 0.9513 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.722, allocations: 85.3 kB / 0.9513 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.7221, allocations: 7.891 kB / 0.9513 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.7221, allocations: 16.22 kB / 0.9514 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.113e-05/0.7221, allocations: 312.2 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.7222, allocations: 6.438 kB / 0.9517 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.7222, allocations: 22.95 kB / 0.9517 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.56e-05/0.7222, allocations: 16.25 kB / 0.9517 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.7222, allocations: 0 / 0.9517 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.012e-05/0.7223, allocations: 50.84 kB / 0.9518 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.7223, allocations: 7.125 kB / 0.9518 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.7223, allocations: 7.922 kB / 0.9518 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.7223, allocations: 13.39 kB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.019e-05/0.7224, allocations: 3.219 kB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.7224, allocations: 1.125 kB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.269e-05/0.7224, allocations: 1.062 kB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.7225, allocations: 1.062 kB / 0.9518 GB, free: 6.906 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.638e-05/0.7225, allocations: 108.1 kB / 0.9519 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.7225, allocations: 4.938 kB / 0.9519 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.764e-05/0.7226, allocations: 63.95 kB / 0.952 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.7226, allocations: 5.188 kB / 0.952 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7226, allocations: 0 / 0.952 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.7226, allocations: 0 / 0.952 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.563e-05/0.7227, allocations: 155.5 kB / 0.9521 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.7227, allocations: 0 / 0.9521 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-05/0.7228, allocations: 3.531 kB / 0.9521 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7228, allocations: 0 / 0.9521 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.7228, allocations: 5.188 kB / 0.9521 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7228, allocations: 0 / 0.9521 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7228, allocations: 9.234 kB / 0.9521 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.7229, allocations: 86.14 kB / 0.9522 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.7229, allocations: 83.41 kB / 0.9523 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.723, allocations: 3.938 kB / 0.9523 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.09e-05/0.723, allocations: 1.625 kB / 0.9523 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.723, allocations: 1.531 kB / 0.9523 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-06/0.723, allocations: 0 / 0.9523 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.101e-05/0.7231, allocations: 90.2 kB / 0.9524 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7231, allocations: 5.375 kB / 0.9524 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000197/0.7233, allocations: 2.781 kB / 0.9524 GB, free: 6.242 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 9.142e-05/0.7234, allocations: 97.97 kB / 0.9525 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.477e-05/0.7234, allocations: 16.73 kB / 0.9525 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7234, allocations: 0 / 0.9525 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.459e-05/0.7235, allocations: 9.375 kB / 0.9525 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.7236, allocations: 2.156 kB / 0.9525 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.7239, allocations: 152 kB / 0.9527 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.647e-05/0.724, allocations: 0.6775 MB / 0.9533 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.724, allocations: 9.281 kB / 0.9533 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.724, allocations: 0 / 0.9533 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of Templates: time 0.001814/0.7258, allocations: 0.4959 MB / 0.9538 GB, free: 5.031 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches