Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_9_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.004608/0.004608, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001002/0.001001, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.113/2.113, allocations: 390.3 MB / 0.6648 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 71.88 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7893/0.7907, allocations: 140.4 MB / 1.087 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2699/1.061, allocations: 237.6 MB / 1.319 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02264/1.083, allocations: 15.78 MB / 1.335 GB, free: 80 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00244/1.086, allocations: 63.62 kB / 1.335 GB, free: 16 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003785/1.09, allocations: 1.041 MB / 1.336 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008916/1.099, allocations: 2.974 MB / 1.339 GB, free: 11.98 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004567/1.103, allocations: 1.689 MB / 1.341 GB, free: 10.3 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005539/1.109, allocations: 3.44 MB / 1.344 GB, free: 6.855 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002656/1.111, allocations: 1.291 MB / 1.345 GB, free: 5.531 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006745/1.118, allocations: 2.518 MB / 1.348 GB, free: 3.016 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002438/1.121, allocations: 1.08 MB / 1.349 GB, free: 1.941 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004499/1.121, allocations: 120 kB / 1.349 GB, free: 1.824 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006221/1.127, allocations: 3.091 MB / 1.352 GB, free: 14.73 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0008018/1.128, allocations: 482.4 kB / 1.352 GB, free: 14.25 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001691/1.13, allocations: 0.8123 MB / 1.353 GB, free: 13.44 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00601/1.136, allocations: 2.964 MB / 1.356 GB, free: 10.46 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/1.136, allocations: 0 / 1.356 GB, free: 10.46 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.694e-06/1.136, allocations: 0 / 1.356 GB, free: 10.46 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.855e-05/1.136, allocations: 0 / 1.356 GB, free: 10.46 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.004185/1.14, allocations: 2.005 MB / 1.358 GB, free: 8.406 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/1.14, allocations: 12.03 kB / 1.358 GB, free: 8.395 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002358/1.141, allocations: 152.2 kB / 1.358 GB, free: 8.238 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002819/1.143, allocations: 0.4937 MB / 1.359 GB, free: 7.742 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/1.146, allocations: 1.172 MB / 1.36 GB, free: 6.512 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.116e-05/1.146, allocations: 78 kB / 1.36 GB, free: 6.438 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/1.146, allocations: 99.98 kB / 1.36 GB, free: 6.34 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00259/1.149, allocations: 1.346 MB / 1.361 GB, free: 4.871 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/1.149, allocations: 7.938 kB / 1.361 GB, free: 4.863 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/1.149, allocations: 44 kB / 1.361 GB, free: 4.82 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-05/1.149, allocations: 45.98 kB / 1.361 GB, free: 4.777 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002506/1.152, allocations: 1.053 MB / 1.362 GB, free: 3.719 MB / 1.092 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.008844/1.161, allocations: 7.395 MB / 1.369 GB, free: 11.85 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/1.162, allocations: 0.5464 MB / 1.37 GB, free: 11.29 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006732/1.163, allocations: 257.2 kB / 1.37 GB, free: 11.04 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003956/1.163, allocations: 283.6 kB / 1.371 GB, free: 10.71 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/1.163, allocations: 38.84 kB / 1.371 GB, free: 10.66 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/1.163, allocations: 0 / 1.371 GB, free: 10.66 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.002557/1.166, allocations: 0.84 MB / 1.371 GB, free: 9.812 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/1.166, allocations: 55.41 kB / 1.371 GB, free: 9.746 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/1.168, allocations: 1.391 MB / 1.373 GB, free: 8.344 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/1.169, allocations: 37.7 kB / 1.373 GB, free: 8.301 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006083/1.169, allocations: 0.7025 MB / 1.374 GB, free: 7.594 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/1.169, allocations: 118.4 kB / 1.374 GB, free: 7.477 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000314/1.17, allocations: 166.3 kB / 1.374 GB, free: 7.309 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.17, allocations: 334 kB / 1.374 GB, free: 6.977 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008445/1.171, allocations: 316.6 kB / 1.374 GB, free: 6.664 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/1.172, allocations: 0.6891 MB / 1.375 GB, free: 5.797 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/1.174, allocations: 0.933 MB / 1.376 GB, free: 4.703 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/1.174, allocations: 8 kB / 1.376 GB, free: 4.695 MB / 1.107 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002742/1.177, allocations: 1.039 MB / 1.377 GB, free: 3.648 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/1.177, allocations: 8 kB / 1.377 GB, free: 3.641 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/1.177, allocations: 12.91 kB / 1.377 GB, free: 3.629 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.309e-05/1.177, allocations: 16 kB / 1.377 GB, free: 3.613 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008529/1.178, allocations: 203.7 kB / 1.377 GB, free: 3.414 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.512e-05/1.178, allocations: 27.86 kB / 1.377 GB, free: 3.387 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/1.179, allocations: 182.7 kB / 1.377 GB, free: 3.207 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/1.179, allocations: 51.98 kB / 1.378 GB, free: 3.156 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001482/1.181, allocations: 0.5643 MB / 1.378 GB, free: 2.586 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001189/1.182, allocations: 0.6814 MB / 1.379 GB, free: 1.727 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001845/1.184, allocations: 0.9253 MB / 1.38 GB, free: 0.6406 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.033e-05/1.184, allocations: 7.938 kB / 1.38 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002658/1.187, allocations: 1.047 MB / 1.381 GB, free: 15.58 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/1.187, allocations: 14.03 kB / 1.381 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/1.187, allocations: 12 kB / 1.381 GB, free: 15.55 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/1.187, allocations: 16 kB / 1.381 GB, free: 15.54 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008491/1.188, allocations: 203.8 kB / 1.381 GB, free: 15.34 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-05/1.188, allocations: 31.8 kB / 1.381 GB, free: 15.31 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/1.189, allocations: 123.5 kB / 1.381 GB, free: 15.19 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/1.189, allocations: 47.98 kB / 1.381 GB, free: 15.14 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.0003768/1.19, allocations: 235.9 kB / 1.381 GB, free: 14.9 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005279/1.19, allocations: 138.2 kB / 1.381 GB, free: 14.77 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/1.192, allocations: 0.6404 MB / 1.382 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/1.192, allocations: 4 kB / 1.382 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.192, allocations: 4.031 kB / 1.382 GB, free: 14.1 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/1.192, allocations: 7.922 kB / 1.382 GB, free: 14.09 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004992/1.197, allocations: 1.898 MB / 1.384 GB, free: 12.09 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/1.198, allocations: 4 kB / 1.384 GB, free: 12.08 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005342/1.198, allocations: 96.08 kB / 1.384 GB, free: 11.99 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/1.198, allocations: 4 kB / 1.384 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.835e-05/1.198, allocations: 12 kB / 1.384 GB, free: 11.97 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-05/1.198, allocations: 7.938 kB / 1.384 GB, free: 11.96 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/1.198, allocations: 7.984 kB / 1.384 GB, free: 11.96 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/1.2, allocations: 0.7956 MB / 1.385 GB, free: 11.09 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009555/1.201, allocations: 307 kB / 1.385 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004586/1.201, allocations: 8 kB / 1.385 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.203, allocations: 67.92 kB / 1.385 GB, free: 10.7 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/1.203, allocations: 35.84 kB / 1.385 GB, free: 10.66 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-05/1.203, allocations: 27.97 kB / 1.385 GB, free: 10.64 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002028/1.205, allocations: 1.001 MB / 1.386 GB, free: 9.641 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.81e-07/1.205, allocations: 0 / 1.386 GB, free: 9.641 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002585/1.208, allocations: 0.5696 MB / 1.387 GB, free: 9.07 MB / 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.002672/1.21, allocations: 1.517 MB / 1.388 GB, free: 7.488 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003065/1.213, allocations: 1.125 MB / 1.389 GB, free: 6.367 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.213, allocations: 0 / 1.389 GB, free: 6.367 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007132/1.214, allocations: 260.6 kB / 1.39 GB, free: 6.113 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003832/1.218, allocations: 0.7383 MB / 1.39 GB, free: 5.379 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/1.235, allocations: 9.805 MB / 1.4 GB, free: 11.04 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000813/1.236, allocations: 1.178 MB / 1.401 GB, free: 9.832 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001424/1.238, allocations: 387.8 kB / 1.401 GB, free: 9.449 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006942/1.238, allocations: 499.3 kB / 1.402 GB, free: 8.965 MB / 1.139 GB Notification: Performance of SimCode: time 9.02e-07/1.238, allocations: 0 / 1.402 GB, free: 8.965 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07073/1.309, allocations: 36.23 MB / 1.437 GB, free: 5.195 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11.86, allocations: 3.938 kB / 1.437 GB, free: 5.191 MB / 1.17 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches