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.001599/0.001599, 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.001787/0.001787, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.266/1.266, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.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.203/2.203, allocations: 390.2 MB / 0.6644 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5436, allocations: 140.4 MB / 0.9492 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2472/0.7908, allocations: 234.7 MB / 1.178 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02066/0.8115, allocations: 15.69 MB / 1.194 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002029/0.8136, allocations: 59.62 kB / 1.194 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002588/0.8162, allocations: 0.9135 MB / 1.195 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007151/0.8234, allocations: 2.797 MB / 1.197 GB, free: 3 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004029/0.8275, allocations: 1.535 MB / 1.199 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004338/0.8318, allocations: 3.453 MB / 1.202 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/0.8337, allocations: 1.236 MB / 1.203 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006038/0.8397, allocations: 2.496 MB / 1.206 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002531/0.8423, allocations: 1.143 MB / 1.207 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003239/0.8426, allocations: 123.9 kB / 1.207 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005474/0.8481, allocations: 3.258 MB / 1.21 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006227/0.8487, allocations: 486.4 kB / 1.211 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.85, allocations: 0.8124 MB / 1.212 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004926/0.8549, allocations: 3.147 MB / 1.215 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.8549, allocations: 0 / 1.215 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8549, allocations: 0 / 1.215 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.921e-05/0.855, allocations: 0 / 1.215 GB, free: 1.273 MB / 0.9669 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.003985/0.859, allocations: 2.005 MB / 1.217 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.859, allocations: 11.97 kB / 1.217 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002261/0.8593, allocations: 156.2 kB / 1.217 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002906/0.8622, allocations: 0.4897 MB / 1.217 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.8645, allocations: 1.121 MB / 1.218 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009698/0.8655, allocations: 237.8 kB / 1.219 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.8657, allocations: 112 kB / 1.219 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/0.8682, allocations: 1.308 MB / 1.22 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.8683, allocations: 7.938 kB / 1.22 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.8684, allocations: 40 kB / 1.22 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.626e-05/0.8684, allocations: 45.98 kB / 1.22 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.8711, allocations: 1.081 MB / 1.221 GB, free: 10.46 MB / 0.9825 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.008693/0.8798, allocations: 6.619 MB / 1.228 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.8815, allocations: 0.566 MB / 1.228 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006781/0.8822, allocations: 285.1 kB / 1.228 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003917/0.8826, allocations: 275.6 kB / 1.229 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.8827, allocations: 34.84 kB / 1.229 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.525e-06/0.8827, allocations: 0 / 1.229 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002535/0.8852, allocations: 0.8635 MB / 1.23 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.8853, allocations: 55.41 kB / 1.23 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002029/0.8873, allocations: 1.362 MB / 1.231 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.527e-05/0.8874, allocations: 33.7 kB / 1.231 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005486/0.8879, allocations: 0.6834 MB / 1.232 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.8881, allocations: 122.4 kB / 1.232 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002574/0.8883, allocations: 146 kB / 1.232 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.8885, allocations: 337.9 kB / 1.232 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000914/0.8894, allocations: 319.2 kB / 1.233 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.8905, allocations: 0.6184 MB / 1.233 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/0.8923, allocations: 0.8552 MB / 1.234 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.8923, allocations: 4 kB / 1.234 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002382/0.8947, allocations: 1.004 MB / 1.235 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.8947, allocations: 8 kB / 1.235 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.8948, allocations: 11.98 kB / 1.235 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.8948, allocations: 16 kB / 1.235 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008475/0.8956, allocations: 191.9 kB / 1.235 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/0.8957, allocations: 15.94 kB / 1.235 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.8972, allocations: 214.8 kB / 1.235 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.221e-05/0.8973, allocations: 43.92 kB / 1.235 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001256/0.8986, allocations: 0.5558 MB / 1.236 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001153/0.8997, allocations: 0.6301 MB / 1.237 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001742/0.9015, allocations: 0.8429 MB / 1.237 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.678e-06/0.9015, allocations: 7.938 kB / 1.237 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002328/0.9038, allocations: 0.9991 MB / 1.238 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.9039, allocations: 8 kB / 1.238 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.9039, allocations: 12.77 kB / 1.238 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.9039, allocations: 16 kB / 1.238 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000808/0.9047, allocations: 195.7 kB / 1.239 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.9047, allocations: 15.94 kB / 1.239 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.9062, allocations: 163.5 kB / 1.239 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-05/0.9063, allocations: 35.98 kB / 1.239 GB, free: 7.203 MB / 0.9981 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.0002545/0.9065, allocations: 236 kB / 1.239 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.9068, allocations: 142.3 kB / 1.239 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.9086, allocations: 0.6639 MB / 1.24 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.9086, allocations: 4 kB / 1.24 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.9086, allocations: 0 / 1.24 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.9086, allocations: 3.984 kB / 1.24 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004076/0.9127, allocations: 1.933 MB / 1.242 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.9127, allocations: 8.062 kB / 1.242 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005509/0.9133, allocations: 87.86 kB / 1.242 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/0.9133, allocations: 8 kB / 1.242 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.329e-05/0.9134, allocations: 15.98 kB / 1.242 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.9134, allocations: 11.94 kB / 1.242 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.9134, allocations: 4 kB / 1.242 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.9151, allocations: 0.8168 MB / 1.243 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006248/0.9157, allocations: 299.1 kB / 1.243 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003385/0.9161, allocations: 8 kB / 1.243 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.9173, allocations: 99.83 kB / 1.243 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.9175, allocations: 35.78 kB / 1.243 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.486e-05/0.9175, allocations: 31.97 kB / 1.243 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001784/0.9193, allocations: 0.9925 MB / 1.244 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9193, allocations: 0 / 1.244 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002048/0.9214, allocations: 0.5695 MB / 1.245 GB, free: 1.035 MB / 0.9981 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.412/1.333, allocations: 1.52 MB / 1.246 GB, free: 285 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002846/1.336, allocations: 1.107 MB / 1.247 GB, free: 285 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.336, allocations: 0.9375 kB / 1.247 GB, free: 285 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000649/1.337, allocations: 259 kB / 1.247 GB, free: 285 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/1.34, allocations: 0.7435 MB / 1.248 GB, free: 284.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01748/1.358, allocations: 10.72 MB / 1.259 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/1.358, allocations: 1.185 MB / 1.26 GB, free: 278.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001526/1.36, allocations: 364.1 kB / 1.26 GB, free: 278 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004889/1.36, allocations: 499 kB / 1.261 GB, free: 277.7 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/1.36, allocations: 0 / 1.261 GB, free: 277.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6762/2.036, allocations: 34.75 MB / 1.295 GB, free: 256.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/2.037, allocations: 244.7 kB / 1.295 GB, free: 255.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.119/5.155, allocations: 1.641 kB / 1.295 GB, free: 255.9 MB / 0.9981 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