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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_latest_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.0009467/0.0009467, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001271/0.001271, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.529/2.529, allocations: 409.4 MB / 0.684 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004633, allocations: 20 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7255/0.726, allocations: 146.8 MB / 0.9811 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2187/0.9447, allocations: 216.7 MB / 1.193 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02144/0.9662, allocations: 14.72 MB / 1.207 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002498/0.9687, allocations: 55.62 kB / 1.207 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002439/0.9712, allocations: 0.6559 MB / 1.208 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007099/0.9783, allocations: 2.145 MB / 1.21 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003845/0.9822, allocations: 1.252 MB / 1.211 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005605/0.9878, allocations: 3.952 MB / 1.215 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.9895, allocations: 0.9333 MB / 1.216 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004787/0.9943, allocations: 1.91 MB / 1.218 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001824/0.9962, allocations: 1.011 MB / 1.219 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.9963, allocations: 44 kB / 1.219 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004368/1.001, allocations: 1.918 MB / 1.221 GB, free: 252 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004612/1.001, allocations: 398.4 kB / 1.221 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000536/1.002, allocations: 328.9 kB / 1.221 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002763/1.005, allocations: 2.023 MB / 1.223 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/1.005, allocations: 3.938 kB / 1.223 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.794e-06/1.005, allocations: 0 / 1.223 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.769e-05/1.005, allocations: 0 / 1.223 GB, free: 13.5 MB / 0.9825 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.003007/1.008, allocations: 1.733 MB / 1.225 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.008, allocations: 8.031 kB / 1.225 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001818/1.008, allocations: 156.2 kB / 1.225 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002514/1.01, allocations: 0.5327 MB / 1.226 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/1.012, allocations: 1.083 MB / 1.227 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007786/1.013, allocations: 265.8 kB / 1.227 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/1.013, allocations: 104 kB / 1.227 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/1.016, allocations: 1.334 MB / 1.228 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/1.016, allocations: 3.938 kB / 1.228 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/1.016, allocations: 44 kB / 1.228 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-05/1.016, allocations: 45.98 kB / 1.229 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/1.018, allocations: 1.108 MB / 1.23 GB, free: 6.883 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.007828/1.026, allocations: 6.643 MB / 1.236 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/1.028, allocations: 0.6021 MB / 1.237 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005943/1.028, allocations: 281.2 kB / 1.237 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003786/1.029, allocations: 287.6 kB / 1.237 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/1.029, allocations: 38.78 kB / 1.237 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/1.029, allocations: 0 / 1.237 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002433/1.031, allocations: 0.9031 MB / 1.238 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/1.031, allocations: 55.41 kB / 1.238 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/1.033, allocations: 1.354 MB / 1.239 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.498e-05/1.033, allocations: 33.7 kB / 1.24 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006125/1.034, allocations: 0.6834 MB / 1.24 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/1.034, allocations: 122.3 kB / 1.24 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/1.034, allocations: 12 kB / 1.24 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.034, allocations: 333.9 kB / 1.241 GB, free: 11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007864/1.035, allocations: 321.1 kB / 1.241 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009915/1.036, allocations: 0.6495 MB / 1.242 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008446/1.037, allocations: 395.5 kB / 1.242 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.037, allocations: 0 / 1.242 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00216/1.039, allocations: 1.027 MB / 1.243 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002197/1.039, allocations: 373.9 kB / 1.243 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.039, allocations: 8 kB / 1.243 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/1.039, allocations: 16 kB / 1.243 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007912/1.04, allocations: 203.7 kB / 1.244 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/1.04, allocations: 23.88 kB / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/1.042, allocations: 230.8 kB / 1.244 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.633e-05/1.042, allocations: 39.97 kB / 1.244 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/1.042, allocations: 5.719 kB / 1.244 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002021/1.044, allocations: 0.8894 MB / 1.245 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/1.044, allocations: 8 kB / 1.245 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/1.044, allocations: 20.72 kB / 1.245 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007649/1.045, allocations: 203.7 kB / 1.245 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/1.045, allocations: 19.92 kB / 1.245 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/1.046, allocations: 199 kB / 1.245 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/1.046, allocations: 35.98 kB / 1.245 GB, free: 6.086 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008151/1.047, allocations: 416.7 kB / 1.246 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/1.047, allocations: 138.3 kB / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/1.049, allocations: 0.6836 MB / 1.246 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/1.049, allocations: 4 kB / 1.246 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.049, allocations: 0 / 1.246 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.049, allocations: 3.938 kB / 1.246 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/1.052, allocations: 1.94 MB / 1.248 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.052, allocations: 4 kB / 1.248 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/1.053, allocations: 108 kB / 1.248 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/1.053, allocations: 7.953 kB / 1.248 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/1.053, allocations: 15.98 kB / 1.248 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/1.053, allocations: 7.938 kB / 1.248 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.053, allocations: 4 kB / 1.248 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/1.054, allocations: 0.8372 MB / 1.249 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004553/1.055, allocations: 295.2 kB / 1.249 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/1.055, allocations: 12 kB / 1.25 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008823/1.056, allocations: 115.7 kB / 1.25 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/1.056, allocations: 35.86 kB / 1.25 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/1.056, allocations: 15.98 kB / 1.25 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001303/1.057, allocations: 0.9317 MB / 1.251 GB, free: 328 kB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.057, allocations: 4 kB / 1.251 GB, free: 324 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.6502/1.707, allocations: 0.5704 MB / 1.251 GB, free: 266.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002954/1.71, allocations: 1.546 MB / 1.253 GB, free: 266 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003628/1.714, allocations: 1.133 MB / 1.254 GB, free: 266 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.714, allocations: 1.469 kB / 1.254 GB, free: 266 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007733/1.715, allocations: 281.1 kB / 1.254 GB, free: 266 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/1.718, allocations: 0.624 MB / 1.255 GB, free: 266 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/1.738, allocations: 7.816 MB / 1.262 GB, free: 262 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/1.74, allocations: 1.184 MB / 1.263 GB, free: 261.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0025/1.742, allocations: 351.8 kB / 1.264 GB, free: 261.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007828/1.743, allocations: 489.5 kB / 1.264 GB, free: 260.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.644e-06/1.743, allocations: 0 / 1.264 GB, free: 260.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05389/1.797, allocations: 33.33 MB / 1.297 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/1.797, allocations: 226 kB / 1.297 GB, free: 234.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.67/4.467, allocations: 3.938 kB / 1.297 GB, free: 234.1 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat does not exist to compare? outputFormat=mat