Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_11_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.001463/0.001463, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001239/0.001239, allocations: 191.9 kB / 16.25 MB, free: 6.621 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.478/1.478, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.591/2.591, allocations: 469.8 MB / 0.7421 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003278/0.003278, allocations: 64.89 kB / 0.9082 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2817, allocations: 159.2 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.681/0.9627, allocations: 234.7 MB / 1.293 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01726/0.98, allocations: 15.68 MB / 1.308 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002236/0.9823, allocations: 57.62 kB / 1.308 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.9847, allocations: 0.9153 MB / 1.309 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00668/0.9914, allocations: 2.8 MB / 1.312 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005469/0.9968, allocations: 1.544 MB / 1.313 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003945/1.001, allocations: 3.433 MB / 1.317 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/1.003, allocations: 1.253 MB / 1.318 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005646/1.008, allocations: 2.492 MB / 1.32 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002503/1.011, allocations: 1.14 MB / 1.321 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003261/1.011, allocations: 121.4 kB / 1.322 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005131/1.016, allocations: 3.263 MB / 1.325 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005509/1.017, allocations: 492.1 kB / 1.325 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001253/1.018, allocations: 0.8078 MB / 1.326 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004445/1.022, allocations: 3.148 MB / 1.329 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/1.022, allocations: 0.6875 kB / 1.329 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.222e-06/1.022, allocations: 2.531 kB / 1.329 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.608e-05/1.023, allocations: 0.9375 kB / 1.329 GB, free: 2.863 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.003499/1.026, allocations: 2.006 MB / 1.331 GB, free: 17.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/1.026, allocations: 8.719 kB / 1.331 GB, free: 17.82 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/1.026, allocations: 152.6 kB / 1.331 GB, free: 17.78 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004003/1.03, allocations: 0.5018 MB / 1.332 GB, free: 17.69 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/1.033, allocations: 1.118 MB / 1.333 GB, free: 17.28 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009494/1.034, allocations: 242.2 kB / 1.333 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/1.034, allocations: 97.06 kB / 1.333 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/1.036, allocations: 1.315 MB / 1.334 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/1.036, allocations: 8.141 kB / 1.334 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.992e-05/1.036, allocations: 47.44 kB / 1.334 GB, free: 16.97 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.839e-05/1.036, allocations: 42.56 kB / 1.334 GB, free: 16.97 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/1.038, allocations: 1.075 MB / 1.335 GB, free: 16.95 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.00613/1.044, allocations: 6.632 MB / 1.342 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/1.046, allocations: 0.5663 MB / 1.343 GB, free: 12.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/1.046, allocations: 282.8 kB / 1.343 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003748/1.047, allocations: 279.7 kB / 1.343 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/1.047, allocations: 41.72 kB / 1.343 GB, free: 12.35 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/1.047, allocations: 4 kB / 1.343 GB, free: 12.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001936/1.049, allocations: 0.8576 MB / 1.344 GB, free: 12.22 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.049, allocations: 54.22 kB / 1.344 GB, free: 12.16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/1.05, allocations: 1.364 MB / 1.345 GB, free: 11.99 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/1.05, allocations: 33.61 kB / 1.345 GB, free: 11.96 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003636/1.05, allocations: 0.6853 MB / 1.346 GB, free: 11.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.686e-05/1.05, allocations: 118.3 kB / 1.346 GB, free: 11.63 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/1.051, allocations: 145.6 kB / 1.346 GB, free: 11.61 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.051, allocations: 333.5 kB / 1.347 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007075/1.052, allocations: 310.9 kB / 1.347 GB, free: 11.28 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00088/1.052, allocations: 0.6235 MB / 1.347 GB, free: 10.89 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/1.054, allocations: 0.8558 MB / 1.348 GB, free: 10.52 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.054, allocations: 8.094 kB / 1.348 GB, free: 10.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001929/1.056, allocations: 1.002 MB / 1.349 GB, free: 10.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.056, allocations: 10.28 kB / 1.349 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/1.056, allocations: 7.688 kB / 1.349 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/1.056, allocations: 13.53 kB / 1.349 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000728/1.057, allocations: 190 kB / 1.35 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/1.057, allocations: 21.38 kB / 1.35 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/1.058, allocations: 217.8 kB / 1.35 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/1.058, allocations: 45.25 kB / 1.35 GB, free: 10.31 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001016/1.059, allocations: 0.561 MB / 1.35 GB, free: 10.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000964/1.06, allocations: 0.6289 MB / 1.351 GB, free: 9.812 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001468/1.062, allocations: 0.8536 MB / 1.352 GB, free: 9.449 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/1.062, allocations: 7.594 kB / 1.352 GB, free: 9.445 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002599/1.064, allocations: 0.9912 MB / 1.353 GB, free: 9.246 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/1.064, allocations: 9.469 kB / 1.353 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.064, allocations: 11.67 kB / 1.353 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.064, allocations: 17.75 kB / 1.353 GB, free: 9.242 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/1.065, allocations: 189.9 kB / 1.353 GB, free: 9.234 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/1.065, allocations: 17.41 kB / 1.353 GB, free: 9.234 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/1.067, allocations: 157.1 kB / 1.353 GB, free: 9.195 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.044e-05/1.067, allocations: 36.16 kB / 1.353 GB, free: 9.191 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * 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.0002799/1.068, allocations: 237.4 kB / 1.353 GB, free: 8.977 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/1.068, allocations: 140.1 kB / 1.354 GB, free: 8.902 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/1.07, allocations: 0.6558 MB / 1.354 GB, free: 8.652 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/1.07, allocations: 6.609 kB / 1.354 GB, free: 8.648 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.07, allocations: 0 / 1.354 GB, free: 8.648 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.07, allocations: 0 / 1.354 GB, free: 8.648 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003161/1.073, allocations: 1.938 MB / 1.356 GB, free: 7.703 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/1.073, allocations: 6.062 kB / 1.356 GB, free: 7.703 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004707/1.074, allocations: 100.7 kB / 1.356 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/1.074, allocations: 6.062 kB / 1.356 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/1.074, allocations: 12.22 kB / 1.356 GB, free: 7.691 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/1.074, allocations: 7.469 kB / 1.356 GB, free: 7.691 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.074, allocations: 8.219 kB / 1.356 GB, free: 7.691 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/1.075, allocations: 0.8211 MB / 1.357 GB, free: 7.215 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/1.075, allocations: 292.5 kB / 1.357 GB, free: 7.004 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/1.076, allocations: 11.28 kB / 1.357 GB, free: 7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/1.077, allocations: 109.2 kB / 1.357 GB, free: 6.977 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/1.077, allocations: 30.16 kB / 1.357 GB, free: 6.969 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/1.077, allocations: 18.56 kB / 1.357 GB, free: 6.969 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001182/1.078, allocations: 0.9988 MB / 1.358 GB, free: 6.586 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.078, allocations: 0 / 1.358 GB, free: 6.586 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001363/1.079, allocations: 0.5647 MB / 1.359 GB, free: 6.508 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.002136/1.081, allocations: 1.537 MB / 1.36 GB, free: 5.457 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002401/1.084, allocations: 1.101 MB / 1.362 GB, free: 5.207 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.084, allocations: 2.594 kB / 1.362 GB, free: 5.207 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006412/1.085, allocations: 267.1 kB / 1.362 GB, free: 5.148 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/1.087, allocations: 0.7451 MB / 1.363 GB, free: 4.91 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02057/1.108, allocations: 10.71 MB / 1.373 GB, free: 14.53 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007861/1.109, allocations: 1.183 MB / 1.374 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001519/1.11, allocations: 361 kB / 1.375 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006557/1.111, allocations: 498.4 kB / 1.375 GB, free: 13.02 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/1.111, allocations: 4 kB / 1.375 GB, free: 13.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.693/5.804, allocations: 34.74 MB / 1.409 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000286/5.804, allocations: 250.5 kB / 1.409 GB, free: 460 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.498/11.3, allocations: 0 / 1.409 GB, free: 460 kB / 1.045 GB (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches