Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1",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.001221/0.001221, 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.001426/0.001426, 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.317/1.317, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.3 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.000343, allocations: 11.98 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7105/0.7109, allocations: 142.3 MB / 0.9536 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1728/0.8837, allocations: 136.3 MB / 1.087 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004727/0.8885, allocations: 2.86 MB / 1.09 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006235/0.8892, allocations: 15.88 kB / 1.09 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007712/0.8899, allocations: 211.1 kB / 1.09 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.8926, allocations: 0.74 MB / 1.09 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.8939, allocations: 437.9 kB / 1.091 GB, free: 3.266 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.895, allocations: 0.5502 MB / 1.091 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.8953, allocations: 189.5 kB / 1.092 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004212/0.8957, allocations: 255 kB / 1.092 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.896, allocations: 183.3 kB / 1.092 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.8961, allocations: 12 kB / 1.092 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007799/0.8968, allocations: 287.5 kB / 1.092 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.897, allocations: 103.7 kB / 1.092 GB, free: 1.699 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.904e-05/0.8971, allocations: 97.52 kB / 1.092 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005303/0.8976, allocations: 482.6 kB / 1.093 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.8976, allocations: 0 / 1.093 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8976, allocations: 0 / 1.093 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.8977, allocations: 0 / 1.093 GB, free: 1.129 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009979/0.8987, allocations: 0.6388 MB / 1.094 GB, free: 452 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.8987, allocations: 12.03 kB / 1.094 GB, free: 440 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.314e-05/0.8988, allocations: 58.55 kB / 1.094 GB, free: 372 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.8998, allocations: 135.4 kB / 1.094 GB, free: 236 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005752/0.9004, allocations: 398.5 kB / 1.094 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.9004, allocations: 20.56 kB / 1.094 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.9005, allocations: 24 kB / 1.094 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.9009, allocations: 271.7 kB / 1.094 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.9009, allocations: 0 / 1.094 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.9009, allocations: 12 kB / 1.094 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.901, allocations: 12.55 kB / 1.094 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.9013, allocations: 198.1 kB / 1.095 GB, free: 15.26 MB / 0.8575 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.001581/0.9029, allocations: 1.322 MB / 1.096 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.9032, allocations: 194.8 kB / 1.096 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.9033, allocations: 0 / 1.096 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.9033, allocations: 42.55 kB / 1.096 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 2.725e-06/0.9033, allocations: 3.984 kB / 1.096 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0009263/0.9042, allocations: 397.3 kB / 1.097 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.9043, allocations: 59.36 kB / 1.097 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.9046, allocations: 300.5 kB / 1.097 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.9046, allocations: 29.7 kB / 1.097 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.9048, allocations: 184.2 kB / 1.097 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/0.9049, allocations: 82.92 kB / 1.097 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.9049, allocations: 4 kB / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.905, allocations: 338.8 kB / 1.098 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.9e-05/0.9051, allocations: 59.97 kB / 1.098 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.9053, allocations: 120.1 kB / 1.098 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.9054, allocations: 81.88 kB / 1.098 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.9054, allocations: 3.938 kB / 1.098 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003366/0.9057, allocations: 245.1 kB / 1.098 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.9058, allocations: 4 kB / 1.098 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.9058, allocations: 4.188 kB / 1.098 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.9058, allocations: 11.94 kB / 1.098 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.906, allocations: 39.92 kB / 1.098 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.906, allocations: 7.953 kB / 1.098 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.9063, allocations: 23.83 kB / 1.098 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.9063, allocations: 8 kB / 1.098 GB, free: 11.49 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * 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.0001586/0.9065, allocations: 161.8 kB / 1.098 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.9065, allocations: 35.62 kB / 1.098 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.964e-05/0.9066, allocations: 35.08 kB / 1.098 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.9066, allocations: 4 kB / 1.098 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.9066, allocations: 0 / 1.098 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.9066, allocations: 3.953 kB / 1.098 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004746/0.9071, allocations: 405.2 kB / 1.099 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.9071, allocations: 3.984 kB / 1.099 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.9073, allocations: 31.98 kB / 1.099 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002109/0.9075, allocations: 48.77 kB / 1.099 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.9076, allocations: 8 kB / 1.099 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.9087, allocations: 1.409 MB / 1.1 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.9087, allocations: 3.938 kB / 1.1 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005281/0.9092, allocations: 403.1 kB / 1.101 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.9094, allocations: 120.8 kB / 1.101 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.9094, allocations: 11.98 kB / 1.101 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.9097, allocations: 23.86 kB / 1.101 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.9097, allocations: 11.98 kB / 1.101 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.9097, allocations: 8 kB / 1.101 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001991/0.9099, allocations: 219 kB / 1.101 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9099, allocations: 0 / 1.101 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004037/0.9104, allocations: 103.8 kB / 1.101 GB, free: 8.242 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008211/0.9112, allocations: 0.9373 MB / 1.102 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.9115, allocations: 159.9 kB / 1.102 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.9115, allocations: 0 / 1.102 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002753/0.9118, allocations: 204.1 kB / 1.102 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000894/0.9127, allocations: 183.2 kB / 1.102 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/0.9156, allocations: 2.891 MB / 1.105 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.916, allocations: 0.8079 MB / 1.106 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002868/0.9163, allocations: 55.25 kB / 1.106 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.9164, allocations: 103.4 kB / 1.106 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of SimCode: time 6.11e-07/0.9164, allocations: 0 / 1.106 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.939, allocations: 8.814 MB / 1.115 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/0.9392, allocations: 198.2 kB / 1.115 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.72, allocations: 0 / 1.115 GB, free: 9.977 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat does not exist to compare? outputFormat=mat