Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_10_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.001438/0.001438, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00181/0.00181, allocations: 193 kB / 16.13 MB, free: 6.652 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.457/1.457, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.631/2.631, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001606, allocations: 67.91 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6862/0.6879, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.002386/0.6903, allocations: 0.5933 MB / 1.017 GB, free: 2.188 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001327/0.6905, allocations: 23.89 kB / 1.017 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.6905, allocations: 0 / 1.017 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.6905, allocations: 0 / 1.017 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.6907, allocations: 3.938 kB / 1.017 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.247e-06/0.6907, allocations: 0 / 1.017 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.461e-05/0.6908, allocations: 8 kB / 1.017 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.6908, allocations: 0 / 1.017 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.891e-05/0.6909, allocations: 4 kB / 1.017 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.709e-05/0.6909, allocations: 0 / 1.017 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.6909, allocations: 3.938 kB / 1.017 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-06/0.691, allocations: 0 / 1.017 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.691, allocations: 7.984 kB / 1.017 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.691, allocations: 11.88 kB / 1.017 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 3.619e-05/0.691, allocations: 3.984 kB / 1.017 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.691, allocations: 0 / 1.017 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.42e-07/0.691, allocations: 0 / 1.017 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.6911, allocations: 0 / 1.017 GB, free: 2.121 MB / 0.7637 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.0003008/0.6914, allocations: 319.5 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.6914, allocations: 8.031 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.6914, allocations: 4.938 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.552e-05/0.6915, allocations: 168.4 kB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.6916, allocations: 384 / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.6916, allocations: 384 / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.6917, allocations: 39.98 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.6917, allocations: 192 / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.6917, allocations: 3.938 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.6917, allocations: 4 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.296e-05/0.6918, allocations: 7.938 kB / 1.018 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.6919, allocations: 166.5 kB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.898e-05/0.692, allocations: 41.19 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.898e-05/0.692, allocations: 9.719 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.692, allocations: 0 / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.6921, allocations: 42.61 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.6921, allocations: 0 / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001263/0.6922, allocations: 45.58 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.6922, allocations: 77.11 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.954e-05/0.6923, allocations: 97.84 kB / 1.018 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.6923, allocations: 25.7 kB / 1.018 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.6924, allocations: 80.52 kB / 1.018 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.6924, allocations: 13.88 kB / 1.018 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.6924, allocations: 13.72 kB / 1.018 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.6925, allocations: 310.8 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-06/0.6925, allocations: 0 / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.759e-05/0.6926, allocations: 17.72 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.179e-05/0.6926, allocations: 25.7 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6926, allocations: 0 / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.319e-05/0.6927, allocations: 45.64 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.6927, allocations: 4 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6927, allocations: 3.938 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.6927, allocations: 0 / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.591e-05/0.6928, allocations: 4 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.6928, allocations: 7.922 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.6928, allocations: 0 / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.6928, allocations: 4 kB / 1.019 GB, free: 308 kB / 0.7637 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.169e-05/0.6929, allocations: 110.4 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.6929, allocations: 0 / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.693, allocations: 56.69 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.693, allocations: 0 / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.6931, allocations: 0 / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.6931, allocations: 0 / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.6932, allocations: 153.7 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.6932, allocations: 4.062 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.6932, allocations: 4 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.6932, allocations: 0 / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.6932, allocations: 7.875 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.6932, allocations: 0 / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6932, allocations: 4 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.807e-05/0.6933, allocations: 73.83 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.6934, allocations: 81.14 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.6934, allocations: 3.938 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.651e-05/0.6934, allocations: 7.984 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.6934, allocations: 4 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.6934, allocations: 3.984 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.289e-05/0.6935, allocations: 79.28 kB / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.6935, allocations: 0 / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001887/0.6937, allocations: 0 / 1.019 GB, free: 15.61 MB / 0.7794 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 9.508e-05/0.6938, allocations: 107.3 kB / 1.019 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.226e-05/0.6938, allocations: 11.94 kB / 1.019 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.6939, allocations: 0 / 1.019 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.007e-05/0.6939, allocations: 4 kB / 1.019 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.694, allocations: 0 / 1.019 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.6942, allocations: 99.8 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.6945, allocations: 0.6731 MB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.971e-05/0.6945, allocations: 3.984 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.6945, allocations: 7.438 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.6945, allocations: 3.938 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of Templates: time 0.001862/0.6964, allocations: 194.7 kB / 1.02 GB, free: 14.45 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches