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.001178/0.001178, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001473/0.001473, allocations: 177.3 kB / 15.95 MB, free: 216 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.494/1.494, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.51/2.51, allocations: 409.2 MB / 0.6838 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.000308, allocations: 12 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9204/0.9207, allocations: 146.8 MB / 0.9809 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2399/1.161, allocations: 194.9 MB / 1.171 GB, free: 2.953 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02882/1.19, allocations: 14.51 MB / 1.185 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003/1.193, allocations: 51.62 kB / 1.185 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004462/1.197, allocations: 0.941 MB / 1.186 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01522/1.212, allocations: 3.05 MB / 1.189 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.007514/1.22, allocations: 1.48 MB / 1.191 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006033/1.226, allocations: 2.019 MB / 1.193 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002338/1.228, allocations: 0.9569 MB / 1.194 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006222/1.235, allocations: 1.706 MB / 1.195 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/1.237, allocations: 0.6845 MB / 1.196 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002542/1.237, allocations: 48 kB / 1.196 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004708/1.242, allocations: 1.677 MB / 1.198 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005553/1.242, allocations: 362.8 kB / 1.198 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007342/1.243, allocations: 332.9 kB / 1.198 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003331/1.246, allocations: 1.882 MB / 1.2 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/1.246, allocations: 3.938 kB / 1.2 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.893e-06/1.246, allocations: 0 / 1.2 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.262e-05/1.246, allocations: 0 / 1.2 GB, free: 5.188 MB / 0.9512 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.003584/1.25, allocations: 1.682 MB / 1.202 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/1.25, allocations: 12.03 kB / 1.202 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002267/1.25, allocations: 156.2 kB / 1.202 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/1.253, allocations: 0.5366 MB / 1.202 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002427/1.255, allocations: 1.083 MB / 1.204 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009376/1.256, allocations: 277.8 kB / 1.204 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/1.257, allocations: 96 kB / 1.204 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002496/1.259, allocations: 1.318 MB / 1.205 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/1.259, allocations: 11.94 kB / 1.205 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/1.259, allocations: 43.98 kB / 1.205 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-05/1.259, allocations: 42 kB / 1.205 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/1.262, allocations: 1.108 MB / 1.206 GB, free: 14.62 MB / 0.9669 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.00897/1.271, allocations: 6.697 MB / 1.213 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/1.273, allocations: 0.6422 MB / 1.214 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.065e-05/1.273, allocations: 12.27 kB / 1.214 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/1.273, allocations: 46.78 kB / 1.214 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 3.407e-06/1.273, allocations: 0 / 1.214 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.002791/1.276, allocations: 0.9073 MB / 1.214 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/1.276, allocations: 55.41 kB / 1.215 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/1.278, allocations: 1.35 MB / 1.216 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.676e-05/1.278, allocations: 33.7 kB / 1.216 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005952/1.279, allocations: 0.6873 MB / 1.217 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/1.279, allocations: 122.3 kB / 1.217 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/1.279, allocations: 12 kB / 1.217 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.279, allocations: 341.9 kB / 1.217 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008429/1.28, allocations: 313.1 kB / 1.217 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/1.281, allocations: 0.6504 MB / 1.218 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009483/1.282, allocations: 396.7 kB / 1.218 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/1.282, allocations: 0 / 1.218 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00256/1.285, allocations: 1.027 MB / 1.219 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.001792/1.287, allocations: 3.822 MB / 1.223 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/1.287, allocations: 8 kB / 1.223 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.738e-05/1.287, allocations: 16 kB / 1.223 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008771/1.288, allocations: 199.7 kB / 1.223 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.512e-05/1.288, allocations: 23.92 kB / 1.223 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/1.289, allocations: 222.9 kB / 1.223 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.931e-05/1.289, allocations: 43.98 kB / 1.224 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.289, allocations: 11.88 kB / 1.224 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00211/1.292, allocations: 0.8825 MB / 1.224 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.292, allocations: 8 kB / 1.224 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/1.292, allocations: 16 kB / 1.224 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007949/1.292, allocations: 204 kB / 1.225 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/1.292, allocations: 15.94 kB / 1.225 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/1.294, allocations: 202.9 kB / 1.225 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.705e-05/1.294, allocations: 47.92 kB / 1.225 GB, free: 10.76 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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.0007191/1.295, allocations: 416.7 kB / 1.225 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/1.295, allocations: 138.3 kB / 1.225 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/1.297, allocations: 0.6875 MB / 1.226 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.297, allocations: 0 / 1.226 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/1.297, allocations: 4 kB / 1.226 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/1.297, allocations: 3.984 kB / 1.226 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00469/1.301, allocations: 2.543 MB / 1.229 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/1.302, allocations: 8 kB / 1.229 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005135/1.302, allocations: 108 kB / 1.229 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.028e-05/1.302, allocations: 12.09 kB / 1.229 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.602e-05/1.302, allocations: 23.94 kB / 1.229 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.239e-05/1.302, allocations: 11.94 kB / 1.229 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/1.302, allocations: 15.92 kB / 1.229 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/1.304, allocations: 1.404 MB / 1.23 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000674/1.305, allocations: 295.2 kB / 1.23 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/1.305, allocations: 15.98 kB / 1.23 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/1.306, allocations: 115.8 kB / 1.231 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.509e-05/1.306, allocations: 47.8 kB / 1.231 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-05/1.307, allocations: 31.98 kB / 1.231 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00147/1.308, allocations: 0.9278 MB / 1.232 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.2e-07/1.308, allocations: 0 / 1.232 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001852/1.31, allocations: 0.5849 MB / 1.232 GB, free: 2.855 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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.003442/1.313, allocations: 4.145 MB / 1.236 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002934/1.316, allocations: 1.132 MB / 1.237 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.316, allocations: 4 kB / 1.237 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007572/1.317, allocations: 294.1 kB / 1.238 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003287/1.32, allocations: 0.6379 MB / 1.238 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5937/1.914, allocations: 14.04 MB / 1.252 GB, free: 265.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/1.915, allocations: 1.206 MB / 1.253 GB, free: 264.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002012/1.917, allocations: 347.9 kB / 1.253 GB, free: 264.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007546/1.918, allocations: 485.4 kB / 1.254 GB, free: 264.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.513e-06/1.918, allocations: 0.6562 kB / 1.254 GB, free: 264.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06257/1.981, allocations: 33.39 MB / 1.286 GB, free: 243.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/1.981, allocations: 233.1 kB / 1.287 GB, free: 243.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.066/5.047, allocations: 0 / 1.287 GB, free: 243.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