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.008323/0.008323, allocations: 100.7 kB / 15.73 MB, free: 6.438 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.002207/0.002207, allocations: 194.9 kB / 16.68 MB, free: 6.355 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.664/2.664, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2574, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.8506/1.108, allocations: 237.6 MB / 1.398 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02138/1.129, allocations: 15.78 MB / 1.414 GB, free: 2.168 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00245/1.132, allocations: 64.25 kB / 1.414 GB, free: 2.145 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003023/1.135, allocations: 1.079 MB / 1.415 GB, free: 1.258 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00829/1.143, allocations: 3.1 MB / 1.418 GB, free: 14.88 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005122/1.149, allocations: 1.7 MB / 1.419 GB, free: 13.61 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.006795/1.155, allocations: 3.448 MB / 1.423 GB, free: 11.62 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002567/1.158, allocations: 1.286 MB / 1.424 GB, free: 10.8 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007341/1.165, allocations: 2.578 MB / 1.427 GB, free: 9.176 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002724/1.168, allocations: 1.072 MB / 1.428 GB, free: 8.551 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003156/1.168, allocations: 122.6 kB / 1.428 GB, free: 8.547 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006435/1.175, allocations: 3.11 MB / 1.431 GB, free: 5.816 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006804/1.176, allocations: 474.5 kB / 1.431 GB, free: 5.352 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001299/1.177, allocations: 0.8085 MB / 1.432 GB, free: 4.539 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005382/1.182, allocations: 2.964 MB / 1.435 GB, free: 1.566 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/1.182, allocations: 0 / 1.435 GB, free: 1.566 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.553e-06/1.182, allocations: 0 / 1.435 GB, free: 1.566 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.925e-05/1.182, allocations: 0 / 1.435 GB, free: 1.566 MB / 1.092 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.003376/1.186, allocations: 2.005 MB / 1.437 GB, free: 15.5 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/1.186, allocations: 8.031 kB / 1.437 GB, free: 15.49 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/1.186, allocations: 156.2 kB / 1.437 GB, free: 15.33 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002704/1.189, allocations: 0.4936 MB / 1.437 GB, free: 14.84 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/1.191, allocations: 1.176 MB / 1.439 GB, free: 13.61 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.335e-05/1.191, allocations: 81.94 kB / 1.439 GB, free: 13.52 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/1.191, allocations: 104 kB / 1.439 GB, free: 13.42 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/1.193, allocations: 1.342 MB / 1.44 GB, free: 11.96 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/1.193, allocations: 11.94 kB / 1.44 GB, free: 11.95 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.161e-05/1.193, allocations: 40 kB / 1.44 GB, free: 11.91 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.127e-05/1.193, allocations: 45.98 kB / 1.44 GB, free: 11.86 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/1.196, allocations: 1.054 MB / 1.441 GB, free: 10.81 MB / 1.107 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.007501/1.203, allocations: 7.387 MB / 1.448 GB, free: 2.949 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/1.205, allocations: 0.5347 MB / 1.449 GB, free: 2.406 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005717/1.205, allocations: 257.2 kB / 1.449 GB, free: 2.152 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000388/1.206, allocations: 291.5 kB / 1.449 GB, free: 1.812 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/1.206, allocations: 38.84 kB / 1.45 GB, free: 1.766 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 3.647e-06/1.206, allocations: 0 / 1.45 GB, free: 1.766 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.002289/1.208, allocations: 0.8399 MB / 1.45 GB, free: 0.918 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/1.208, allocations: 55.41 kB / 1.45 GB, free: 0.8516 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/1.21, allocations: 1.399 MB / 1.452 GB, free: 15.44 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.939e-05/1.21, allocations: 33.7 kB / 1.452 GB, free: 15.4 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005484/1.21, allocations: 0.7025 MB / 1.452 GB, free: 14.7 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/1.211, allocations: 114.4 kB / 1.453 GB, free: 14.58 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002563/1.211, allocations: 166.3 kB / 1.453 GB, free: 14.41 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.211, allocations: 334 kB / 1.453 GB, free: 14.08 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007604/1.212, allocations: 316.6 kB / 1.453 GB, free: 13.77 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009974/1.213, allocations: 0.6852 MB / 1.454 GB, free: 12.91 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/1.214, allocations: 0.9342 MB / 1.455 GB, free: 11.81 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/1.214, allocations: 8 kB / 1.455 GB, free: 11.8 MB / 1.123 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002259/1.217, allocations: 1.042 MB / 1.456 GB, free: 10.75 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.217, allocations: 12 kB / 1.456 GB, free: 10.74 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/1.217, allocations: 12.91 kB / 1.456 GB, free: 10.73 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/1.217, allocations: 16 kB / 1.456 GB, free: 10.71 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008351/1.218, allocations: 207.6 kB / 1.456 GB, free: 10.51 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.436e-05/1.218, allocations: 27.86 kB / 1.456 GB, free: 10.48 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/1.219, allocations: 178.7 kB / 1.456 GB, free: 10.31 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.862e-05/1.219, allocations: 47.98 kB / 1.456 GB, free: 10.26 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001171/1.22, allocations: 0.5643 MB / 1.457 GB, free: 9.695 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001073/1.221, allocations: 0.6852 MB / 1.458 GB, free: 8.832 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001639/1.223, allocations: 0.9333 MB / 1.459 GB, free: 7.738 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.376e-06/1.223, allocations: 4 kB / 1.459 GB, free: 7.734 MB / 1.123 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002327/1.225, allocations: 1.044 MB / 1.46 GB, free: 6.684 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.225, allocations: 11.94 kB / 1.46 GB, free: 6.672 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/1.225, allocations: 12 kB / 1.46 GB, free: 6.66 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/1.225, allocations: 19.98 kB / 1.46 GB, free: 6.641 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009211/1.226, allocations: 203.8 kB / 1.46 GB, free: 6.441 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.64e-05/1.226, allocations: 23.92 kB / 1.46 GB, free: 6.418 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/1.228, allocations: 123.7 kB / 1.46 GB, free: 6.297 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-05/1.228, allocations: 47.98 kB / 1.46 GB, free: 6.25 MB / 1.123 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.0003115/1.228, allocations: 232 kB / 1.46 GB, free: 6.016 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/1.229, allocations: 146.2 kB / 1.46 GB, free: 5.871 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/1.23, allocations: 0.6365 MB / 1.461 GB, free: 5.223 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.23, allocations: 4 kB / 1.461 GB, free: 5.219 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.23, allocations: 0 / 1.461 GB, free: 5.219 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.23, allocations: 7.984 kB / 1.461 GB, free: 5.211 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003839/1.234, allocations: 1.892 MB / 1.463 GB, free: 3.211 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/1.234, allocations: 4 kB / 1.463 GB, free: 3.207 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/1.235, allocations: 96.02 kB / 1.463 GB, free: 3.113 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/1.235, allocations: 8 kB / 1.463 GB, free: 3.105 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/1.235, allocations: 8 kB / 1.463 GB, free: 3.098 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/1.235, allocations: 15.92 kB / 1.463 GB, free: 3.082 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.235, allocations: 4 kB / 1.463 GB, free: 3.078 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/1.237, allocations: 0.8036 MB / 1.464 GB, free: 2.207 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005299/1.237, allocations: 299.1 kB / 1.464 GB, free: 1.895 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/1.237, allocations: 11.94 kB / 1.464 GB, free: 1.883 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/1.238, allocations: 67.92 kB / 1.464 GB, free: 1.816 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.464e-05/1.238, allocations: 43.83 kB / 1.464 GB, free: 1.773 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.258e-05/1.239, allocations: 19.98 kB / 1.464 GB, free: 1.754 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001593/1.24, allocations: 1.005 MB / 1.465 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.7e-07/1.24, allocations: 0 / 1.465 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002148/1.242, allocations: 0.5696 MB / 1.466 GB, free: 188 kB / 1.123 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.002303/1.245, allocations: 1.524 MB / 1.467 GB, free: 14.6 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002808/1.247, allocations: 1.118 MB / 1.468 GB, free: 13.48 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.247, allocations: 4 kB / 1.468 GB, free: 13.48 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006182/1.248, allocations: 260.5 kB / 1.469 GB, free: 13.23 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/1.251, allocations: 0.75 MB / 1.469 GB, free: 12.48 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/1.268, allocations: 9.798 MB / 1.479 GB, free: 2.148 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000782/1.268, allocations: 1.19 MB / 1.48 GB, free: 0.9297 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001354/1.27, allocations: 379.8 kB / 1.48 GB, free: 0.5547 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00065/1.27, allocations: 499.3 kB / 1.481 GB, free: 68 kB / 1.139 GB Notification: Performance of SimCode: time 4.11e-07/1.27, allocations: 0 / 1.481 GB, free: 68 kB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06458/1.335, allocations: 35.61 MB / 1.516 GB, free: 12.92 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.82, allocations: 4 kB / 1.516 GB, free: 12.92 MB / 1.186 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