Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001956/0.001955, allocations: 105.9 kB / 16.36 MB, free: 6.289 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.001992/0.001991, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.474/2.474, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 68 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2898, allocations: 153 MB / 1.027 GB, free: 2.109 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.7443/1.034, allocations: 237.6 MB / 1.259 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02191/1.056, allocations: 15.77 MB / 1.274 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002322/1.059, allocations: 63.62 kB / 1.274 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002909/1.061, allocations: 1.033 MB / 1.275 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008159/1.07, allocations: 2.99 MB / 1.278 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006506/1.076, allocations: 1.681 MB / 1.28 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00743/1.084, allocations: 3.426 MB / 1.283 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003097/1.087, allocations: 1.291 MB / 1.284 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007799/1.095, allocations: 2.502 MB / 1.287 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002605/1.097, allocations: 1.078 MB / 1.288 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005018/1.098, allocations: 120 kB / 1.288 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006959/1.105, allocations: 3.094 MB / 1.291 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008915/1.106, allocations: 474.5 kB / 1.291 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001937/1.108, allocations: 0.8123 MB / 1.292 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007439/1.115, allocations: 2.96 MB / 1.295 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/1.115, allocations: 3.984 kB / 1.295 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.094e-06/1.115, allocations: 0 / 1.295 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.984e-05/1.115, allocations: 0 / 1.295 GB, free: 10.41 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.00483/1.12, allocations: 2.002 MB / 1.297 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/1.12, allocations: 8.031 kB / 1.297 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002999/1.123, allocations: 0.5014 MB / 1.298 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002921/1.126, allocations: 1.168 MB / 1.299 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.636e-05/1.126, allocations: 74 kB / 1.299 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/1.126, allocations: 104 kB / 1.299 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/1.129, allocations: 1.338 MB / 1.3 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/1.129, allocations: 11.92 kB / 1.3 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/1.129, allocations: 44 kB / 1.3 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-05/1.129, allocations: 46 kB / 1.3 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/1.132, allocations: 1.057 MB / 1.301 GB, free: 3.82 MB / 0.9981 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.009281/1.141, allocations: 7.395 MB / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/1.143, allocations: 0.5366 MB / 1.309 GB, free: 11.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006409/1.143, allocations: 261.2 kB / 1.309 GB, free: 11.14 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003943/1.144, allocations: 275.6 kB / 1.31 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/1.144, allocations: 46.72 kB / 1.31 GB, free: 10.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.215e-06/1.144, allocations: 4 kB / 1.31 GB, free: 10.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002478/1.146, allocations: 0.8443 MB / 1.31 GB, free: 9.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/1.146, allocations: 51.41 kB / 1.311 GB, free: 9.848 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/1.149, allocations: 1.391 MB / 1.312 GB, free: 8.445 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-05/1.149, allocations: 33.7 kB / 1.312 GB, free: 8.406 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005752/1.149, allocations: 0.7026 MB / 1.313 GB, free: 7.699 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/1.149, allocations: 122.3 kB / 1.313 GB, free: 7.578 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/1.15, allocations: 162.4 kB / 1.313 GB, free: 7.41 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.15, allocations: 334 kB / 1.313 GB, free: 7.078 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008058/1.151, allocations: 312.6 kB / 1.313 GB, free: 6.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/1.152, allocations: 0.693 MB / 1.314 GB, free: 5.902 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/1.154, allocations: 0.9308 MB / 1.315 GB, free: 4.812 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/1.154, allocations: 4 kB / 1.315 GB, free: 4.809 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002486/1.156, allocations: 1.05 MB / 1.316 GB, free: 3.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/1.156, allocations: 12 kB / 1.316 GB, free: 3.738 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/1.156, allocations: 15.94 kB / 1.316 GB, free: 3.723 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/1.156, allocations: 16 kB / 1.316 GB, free: 3.707 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008645/1.157, allocations: 204.2 kB / 1.316 GB, free: 3.508 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-05/1.157, allocations: 27.91 kB / 1.316 GB, free: 3.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/1.158, allocations: 178.7 kB / 1.317 GB, free: 3.305 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-05/1.159, allocations: 43.98 kB / 1.317 GB, free: 3.262 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001228/1.16, allocations: 0.5682 MB / 1.317 GB, free: 2.691 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001065/1.161, allocations: 0.6852 MB / 1.318 GB, free: 1.832 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001683/1.163, allocations: 0.9332 MB / 1.319 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.726e-06/1.163, allocations: 4 kB / 1.319 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.0027/1.165, allocations: 1.043 MB / 1.32 GB, free: 15.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.165, allocations: 16.09 kB / 1.32 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/1.165, allocations: 12 kB / 1.32 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.165, allocations: 16 kB / 1.32 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008554/1.166, allocations: 199.6 kB / 1.32 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.587e-05/1.166, allocations: 31.86 kB / 1.32 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/1.168, allocations: 131.5 kB / 1.32 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.57e-05/1.168, allocations: 40 kB / 1.32 GB, free: 15.24 MB / 1.029 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.0003893/1.168, allocations: 244.7 kB / 1.32 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004472/1.169, allocations: 142.2 kB / 1.321 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/1.171, allocations: 0.6486 MB / 1.321 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/1.171, allocations: 4 kB / 1.321 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.171, allocations: 0 / 1.321 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/1.171, allocations: 3.984 kB / 1.321 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003977/1.175, allocations: 1.892 MB / 1.323 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.175, allocations: 4 kB / 1.323 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/1.175, allocations: 96.02 kB / 1.323 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.937e-05/1.175, allocations: 7.938 kB / 1.323 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/1.175, allocations: 15.98 kB / 1.323 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/1.175, allocations: 7.938 kB / 1.323 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.175, allocations: 7.938 kB / 1.323 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/1.177, allocations: 0.7956 MB / 1.324 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006608/1.178, allocations: 303 kB / 1.324 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002749/1.178, allocations: 15.98 kB / 1.324 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/1.179, allocations: 67.86 kB / 1.324 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-05/1.179, allocations: 31.91 kB / 1.324 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/1.179, allocations: 19.98 kB / 1.324 GB, free: 10.74 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001647/1.181, allocations: 1.009 MB / 1.325 GB, free: 9.734 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.9e-07/1.181, allocations: 0 / 1.325 GB, free: 9.734 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002028/1.183, allocations: 0.5735 MB / 1.326 GB, free: 9.16 MB / 1.029 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.0006683/1.184, allocations: 269.8 kB / 1.326 GB, free: 8.895 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002819/1.186, allocations: 1.132 MB / 1.327 GB, free: 7.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.186, allocations: 0 / 1.327 GB, free: 7.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006599/1.187, allocations: 248.6 kB / 1.327 GB, free: 7.527 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/1.191, allocations: 0.74 MB / 1.328 GB, free: 6.789 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005095/1.196, allocations: 2.238 MB / 1.33 GB, free: 4.469 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009149/1.197, allocations: 1.182 MB / 1.332 GB, free: 3.258 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001427/1.198, allocations: 387.8 kB / 1.332 GB, free: 2.875 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/1.198, allocations: 99.42 kB / 1.332 GB, free: 2.777 MB / 1.029 GB Notification: Performance of SimCode: time 9.42e-07/1.198, allocations: 4 kB / 1.332 GB, free: 2.773 MB / 1.029 GB Notification: Performance of Templates: time 0.04246/1.241, allocations: 24.99 MB / 1.356 GB, free: 10.11 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches