Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example4.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: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 108 kB / 15.61 MB, free: 152 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.001288/0.001288, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.194/1.194, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.289/2.289, allocations: 437 MB / 0.7104 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 71.89 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.4671, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2062/0.6733, allocations: 237.6 MB / 1.249 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4567/1.13, allocations: 15.75 MB / 1.265 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/1.132, allocations: 60.88 kB / 1.265 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001971/1.134, allocations: 1.039 MB / 1.266 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005625/1.139, allocations: 2.979 MB / 1.269 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00343/1.143, allocations: 1.671 MB / 1.27 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003891/1.147, allocations: 3.435 MB / 1.274 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/1.148, allocations: 1.286 MB / 1.275 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004291/1.153, allocations: 2.481 MB / 1.277 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/1.154, allocations: 1.085 MB / 1.279 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000182/1.154, allocations: 121.6 kB / 1.279 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00457/1.159, allocations: 3.096 MB / 1.282 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003688/1.159, allocations: 480.2 kB / 1.282 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007052/1.16, allocations: 0.8062 MB / 1.283 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002955/1.163, allocations: 2.933 MB / 1.286 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.163, allocations: 0.7812 kB / 1.286 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/1.163, allocations: 1.031 kB / 1.286 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.407e-05/1.163, allocations: 0.7188 kB / 1.286 GB, free: 1.504 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002727/1.165, allocations: 2.003 MB / 1.288 GB, free: 16.47 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/1.166, allocations: 9.625 kB / 1.288 GB, free: 16.47 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001455/1.166, allocations: 156.9 kB / 1.288 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/1.168, allocations: 0.4952 MB / 1.288 GB, free: 16.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/1.17, allocations: 1.106 MB / 1.289 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008616/1.171, allocations: 250.1 kB / 1.29 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/1.171, allocations: 94 kB / 1.29 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/1.173, allocations: 1.369 MB / 1.291 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/1.173, allocations: 7.531 kB / 1.291 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.738e-05/1.173, allocations: 41.91 kB / 1.291 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/1.173, allocations: 45.48 kB / 1.291 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/1.175, allocations: 1.081 MB / 1.292 GB, free: 15.59 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006113/1.181, allocations: 7.445 MB / 1.3 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/1.183, allocations: 0.56 MB / 1.3 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005836/1.183, allocations: 275.8 kB / 1.3 GB, free: 10.59 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003299/1.183, allocations: 280.1 kB / 1.301 GB, free: 10.31 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/1.183, allocations: 41.84 kB / 1.301 GB, free: 10.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/1.183, allocations: 0 / 1.301 GB, free: 10.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002119/1.186, allocations: 0.8692 MB / 1.301 GB, free: 10.15 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/1.186, allocations: 57.75 kB / 1.302 GB, free: 10.09 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/1.187, allocations: 1.402 MB / 1.303 GB, free: 9.914 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-05/1.187, allocations: 34.33 kB / 1.303 GB, free: 9.883 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004014/1.188, allocations: 0.7019 MB / 1.304 GB, free: 9.617 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.28e-05/1.188, allocations: 118.2 kB / 1.304 GB, free: 9.547 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/1.188, allocations: 168.8 kB / 1.304 GB, free: 9.52 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.188, allocations: 332.1 kB / 1.304 GB, free: 9.215 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007832/1.189, allocations: 329.8 kB / 1.305 GB, free: 9.207 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/1.19, allocations: 0.7036 MB / 1.305 GB, free: 8.742 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/1.191, allocations: 0.9628 MB / 1.306 GB, free: 8.289 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/1.191, allocations: 3.562 kB / 1.306 GB, free: 8.289 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002062/1.193, allocations: 1.071 MB / 1.307 GB, free: 8.164 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.193, allocations: 14.06 kB / 1.307 GB, free: 8.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.194, allocations: 13.5 kB / 1.307 GB, free: 8.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/1.194, allocations: 17.53 kB / 1.307 GB, free: 8.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007646/1.194, allocations: 215.5 kB / 1.307 GB, free: 8.152 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/1.194, allocations: 24.39 kB / 1.307 GB, free: 8.152 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/1.195, allocations: 193.2 kB / 1.308 GB, free: 8.082 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.059e-05/1.196, allocations: 44.88 kB / 1.308 GB, free: 8.082 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001025/1.197, allocations: 0.5782 MB / 1.308 GB, free: 7.992 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009916/1.198, allocations: 0.7038 MB / 1.309 GB, free: 7.512 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001655/1.199, allocations: 0.9521 MB / 1.31 GB, free: 7.059 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.249e-06/1.199, allocations: 5.281 kB / 1.31 GB, free: 7.059 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00209/1.201, allocations: 1.067 MB / 1.311 GB, free: 6.934 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/1.201, allocations: 13.5 kB / 1.311 GB, free: 6.934 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/1.201, allocations: 15.25 kB / 1.311 GB, free: 6.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/1.201, allocations: 18.62 kB / 1.311 GB, free: 6.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007309/1.202, allocations: 210.7 kB / 1.311 GB, free: 6.926 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/1.202, allocations: 21.48 kB / 1.311 GB, free: 6.926 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.203, allocations: 140.8 kB / 1.311 GB, free: 6.898 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/1.203, allocations: 44.38 kB / 1.311 GB, free: 6.898 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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 0.0001664/1.203, allocations: 238.7 kB / 1.312 GB, free: 6.707 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/1.204, allocations: 143 kB / 1.312 GB, free: 6.633 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/1.205, allocations: 0.6599 MB / 1.312 GB, free: 6.547 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/1.205, allocations: 6.234 kB / 1.312 GB, free: 6.547 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.205, allocations: 0 / 1.312 GB, free: 6.547 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.205, allocations: 0 / 1.312 GB, free: 6.547 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/1.208, allocations: 1.927 MB / 1.314 GB, free: 6.055 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/1.208, allocations: 6.562 kB / 1.314 GB, free: 6.051 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004548/1.209, allocations: 97.03 kB / 1.314 GB, free: 6.051 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/1.209, allocations: 14.12 kB / 1.314 GB, free: 6.043 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/1.209, allocations: 12.22 kB / 1.314 GB, free: 6.043 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/1.209, allocations: 9.156 kB / 1.314 GB, free: 6.039 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.209, allocations: 8.094 kB / 1.314 GB, free: 6.039 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/1.21, allocations: 0.8155 MB / 1.315 GB, free: 5.684 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003614/1.21, allocations: 297.6 kB / 1.316 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/1.211, allocations: 12.42 kB / 1.316 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009708/1.212, allocations: 72.59 kB / 1.316 GB, free: 5.504 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.102e-05/1.212, allocations: 38.64 kB / 1.316 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/1.212, allocations: 20.16 kB / 1.316 GB, free: 5.496 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001132/1.213, allocations: 1.018 MB / 1.317 GB, free: 5.383 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.042e-06/1.213, allocations: 0 / 1.317 GB, free: 5.383 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001398/1.214, allocations: 0.5767 MB / 1.317 GB, free: 5.336 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.002054/1.216, allocations: 1.529 MB / 1.319 GB, free: 4.414 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002473/1.219, allocations: 1.186 MB / 1.32 GB, free: 4.367 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.219, allocations: 3.797 kB / 1.32 GB, free: 4.367 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006279/1.219, allocations: 262.2 kB / 1.32 GB, free: 4.359 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/1.222, allocations: 0.7401 MB / 1.321 GB, free: 4.23 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/1.236, allocations: 10.68 MB / 1.331 GB, free: 15.78 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000602/1.237, allocations: 1.181 MB / 1.332 GB, free: 15.05 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001334/1.238, allocations: 397.6 kB / 1.333 GB, free: 14.95 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000496/1.239, allocations: 0.4894 MB / 1.333 GB, free: 14.94 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/1.239, allocations: 3.375 kB / 1.333 GB, free: 14.94 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.388/3.627, allocations: 35.41 MB / 1.368 GB, free: 13.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.694/13.32, allocations: 10.69 kB / 1.368 GB, free: 13.47 MB / 1.045 GB (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches