Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_latest_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.000997/0.0009971, allocations: 92.62 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001042, allocations: 181.1 kB / 16.92 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.324/1.324, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.637/2.637, allocations: 443.2 MB / 0.7181 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.00038, allocations: 12.91 kB / 0.8801 GB, free: 41.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3148, allocations: 155.1 MB / 1.032 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0007277/0.3156, allocations: 267.9 kB / 1.032 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001721/0.3158, allocations: 43.8 kB / 1.032 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.3158, allocations: 0 / 1.032 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.3159, allocations: 0 / 1.032 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.316, allocations: 8 kB / 1.032 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.959e-05/0.3161, allocations: 11.94 kB / 1.032 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.989e-05/0.3161, allocations: 4 kB / 1.032 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.482e-05/0.3162, allocations: 3.984 kB / 1.032 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.487e-05/0.3163, allocations: 8 kB / 1.032 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.3163, allocations: 7.938 kB / 1.032 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.3164, allocations: 3.984 kB / 1.032 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.3164, allocations: 0 / 1.032 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.3164, allocations: 7.984 kB / 1.032 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.3165, allocations: 29.64 kB / 1.032 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 4.499e-05/0.3165, allocations: 8 kB / 1.032 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3166, allocations: 0 / 1.032 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3166, allocations: 0 / 1.032 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.3166, allocations: 0 / 1.032 GB, free: 4.16 MB / 0.7794 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.0004538/0.317, allocations: 335.7 kB / 1.032 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3171, allocations: 8.031 kB / 1.032 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.3171, allocations: 0.9375 kB / 1.032 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.3173, allocations: 180.2 kB / 1.032 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.3173, allocations: 4.375 kB / 1.033 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3173, allocations: 8.375 kB / 1.033 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.657e-05/0.3174, allocations: 30.27 kB / 1.033 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3174, allocations: 192 / 1.033 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3175, allocations: 3.938 kB / 1.033 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3175, allocations: 4 kB / 1.033 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.169e-05/0.3175, allocations: 7.984 kB / 1.033 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.3177, allocations: 153.7 kB / 1.033 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.08e-05/0.3177, allocations: 18.52 kB / 1.033 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.3177, allocations: 12.92 kB / 1.033 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.3178, allocations: 0 / 1.033 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.3178, allocations: 34.55 kB / 1.033 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.3178, allocations: 0 / 1.033 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001387/0.3179, allocations: 45.62 kB / 1.033 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.318, allocations: 59.34 kB / 1.033 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/0.3181, allocations: 109.8 kB / 1.033 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.3181, allocations: 29.83 kB / 1.033 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.3181, allocations: 80.14 kB / 1.033 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.3182, allocations: 3.906 kB / 1.033 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.3182, allocations: 21.66 kB / 1.033 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.3183, allocations: 314.8 kB / 1.033 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.3183, allocations: 4 kB / 1.033 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.182e-05/0.3183, allocations: 13.72 kB / 1.033 GB, free: 2.484 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.106e-05/0.3184, allocations: 25.77 kB / 1.033 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3184, allocations: 4 kB / 1.033 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.001e-05/0.3185, allocations: 45.62 kB / 1.033 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3185, allocations: 4 kB / 1.033 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3185, allocations: 3.938 kB / 1.033 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.3185, allocations: 0 / 1.033 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.738e-05/0.3186, allocations: 4 kB / 1.033 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.3186, allocations: 0 / 1.033 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.3186, allocations: 12.06 kB / 1.034 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.3186, allocations: 3.984 kB / 1.034 GB, free: 2.371 MB / 0.7794 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 7.339e-05/0.3187, allocations: 109.8 kB / 1.034 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.3187, allocations: 7.906 kB / 1.034 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.555e-05/0.3188, allocations: 49.16 kB / 1.034 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3188, allocations: 4 kB / 1.034 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3188, allocations: 0 / 1.034 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3189, allocations: 0 / 1.034 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.319, allocations: 161.7 kB / 1.034 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.319, allocations: 3.984 kB / 1.034 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.97e-05/0.319, allocations: 11.92 kB / 1.034 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.319, allocations: 0 / 1.034 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3191, allocations: 3.938 kB / 1.034 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3191, allocations: 0 / 1.034 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3191, allocations: 4 kB / 1.034 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.3192, allocations: 81.05 kB / 1.034 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.3193, allocations: 77.11 kB / 1.034 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.3193, allocations: 7.969 kB / 1.034 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.012e-05/0.3193, allocations: 256 / 1.034 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.3193, allocations: 0 / 1.034 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.3193, allocations: 4 kB / 1.034 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.975e-05/0.3194, allocations: 91.27 kB / 1.034 GB, free: 1.664 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3194, allocations: 0 / 1.034 GB, free: 1.664 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001743/0.3196, allocations: 8 kB / 1.034 GB, free: 1.656 MB / 0.7794 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 0.0001049/0.3197, allocations: 103.3 kB / 1.034 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.653e-05/0.3198, allocations: 15.92 kB / 1.034 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3198, allocations: 0 / 1.034 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.274e-05/0.3198, allocations: 4 kB / 1.034 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.3199, allocations: 7.984 kB / 1.034 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.3202, allocations: 149.3 kB / 1.034 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.3205, allocations: 0.6889 MB / 1.035 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.3205, allocations: 7.438 kB / 1.035 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.3205, allocations: 0 / 1.035 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of Templates: time 0.001835/0.3223, allocations: 0.4997 MB / 1.036 GB, free: 120 kB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches