Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_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.001786/0.001786, allocations: 98.45 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.002786/0.002786, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.73/2.73, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.044/5.044, allocations: 409.2 MB / 0.6838 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000848/0.0008483, allocations: 8 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717/1.718, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.3204/2.038, allocations: 136.3 MB / 1.114 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008678/2.047, allocations: 2.86 MB / 1.117 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/2.049, allocations: 11.94 kB / 1.117 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/2.05, allocations: 215 kB / 1.117 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004652/2.055, allocations: 0.7362 MB / 1.118 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002235/2.057, allocations: 434.5 kB / 1.118 GB, free: 9.316 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001906/2.059, allocations: 0.5618 MB / 1.119 GB, free: 8.754 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005426/2.059, allocations: 193.5 kB / 1.119 GB, free: 8.559 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008669/2.06, allocations: 247.1 kB / 1.119 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006305/2.061, allocations: 191.2 kB / 1.119 GB, free: 8.129 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/2.061, allocations: 16 kB / 1.119 GB, free: 8.113 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/2.063, allocations: 283.5 kB / 1.12 GB, free: 7.836 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002729/2.063, allocations: 103.7 kB / 1.12 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/2.063, allocations: 97.52 kB / 1.12 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001193/2.064, allocations: 478.7 kB / 1.12 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/2.064, allocations: 0 / 1.12 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.318e-06/2.064, allocations: 0 / 1.12 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.006e-05/2.064, allocations: 0 / 1.12 GB, free: 7.164 MB / 0.8731 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.001964/2.066, allocations: 0.6427 MB / 1.121 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 9.16e-05/2.067, allocations: 8.031 kB / 1.121 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/2.067, allocations: 62.53 kB / 1.121 GB, free: 6.395 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/2.068, allocations: 139.4 kB / 1.121 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/2.069, allocations: 386.7 kB / 1.121 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.563e-05/2.07, allocations: 16.56 kB / 1.121 GB, free: 5.824 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/2.07, allocations: 27.98 kB / 1.121 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008625/2.071, allocations: 271.7 kB / 1.122 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/2.071, allocations: 0 / 1.122 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/2.071, allocations: 16 kB / 1.122 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-05/2.071, allocations: 8.562 kB / 1.122 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007173/2.071, allocations: 206 kB / 1.122 GB, free: 5.293 MB / 0.8731 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.00302/2.074, allocations: 1.319 MB / 1.123 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005781/2.075, allocations: 186.8 kB / 1.123 GB, free: 3.641 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/2.075, allocations: 4 kB / 1.123 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/2.075, allocations: 38.5 kB / 1.123 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.784e-06/2.075, allocations: 4 kB / 1.123 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.00148/2.077, allocations: 394.5 kB / 1.124 GB, free: 3.176 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/2.077, allocations: 59.41 kB / 1.124 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/2.077, allocations: 308.4 kB / 1.124 GB, free: 2.801 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.072e-05/2.077, allocations: 25.7 kB / 1.124 GB, free: 2.77 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/2.078, allocations: 196 kB / 1.124 GB, free: 2.574 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/2.078, allocations: 63.05 kB / 1.124 GB, free: 2.512 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.658e-05/2.078, allocations: 4 kB / 1.124 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002674/2.078, allocations: 346.7 kB / 1.125 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/2.078, allocations: 59.97 kB / 1.125 GB, free: 2.102 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/2.079, allocations: 131.4 kB / 1.125 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/2.079, allocations: 71.98 kB / 1.125 GB, free: 1.883 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/2.079, allocations: 0 / 1.125 GB, free: 1.883 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005714/2.079, allocations: 253.9 kB / 1.125 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/2.079, allocations: 7.953 kB / 1.125 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/2.079, allocations: 4 kB / 1.125 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/2.079, allocations: 4 kB / 1.125 GB, free: 1.613 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/2.08, allocations: 43.92 kB / 1.125 GB, free: 1.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/2.08, allocations: 4 kB / 1.125 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004503/2.08, allocations: 28.02 kB / 1.125 GB, free: 1.539 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/2.08, allocations: 8 kB / 1.125 GB, free: 1.531 MB / 0.8731 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.0002894/2.081, allocations: 157.8 kB / 1.126 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.923e-05/2.081, allocations: 31.62 kB / 1.126 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/2.081, allocations: 43.03 kB / 1.126 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/2.081, allocations: 4 kB / 1.126 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/2.081, allocations: 0 / 1.126 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/2.081, allocations: 0 / 1.126 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008072/2.082, allocations: 409.2 kB / 1.126 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/2.082, allocations: 8 kB / 1.126 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/2.082, allocations: 27.98 kB / 1.126 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003286/2.082, allocations: 44.81 kB / 1.126 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/2.082, allocations: 8 kB / 1.126 GB, free: 0.7539 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/2.084, allocations: 1.421 MB / 1.127 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/2.084, allocations: 0 / 1.127 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008986/2.085, allocations: 397.6 kB / 1.128 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/2.086, allocations: 132.8 kB / 1.128 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/2.086, allocations: 8 kB / 1.128 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/2.086, allocations: 7.906 kB / 1.128 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/2.086, allocations: 19.97 kB / 1.128 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/2.086, allocations: 4 kB / 1.128 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003784/2.087, allocations: 211.1 kB / 1.128 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.197e-06/2.087, allocations: 0 / 1.128 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007115/2.087, allocations: 115.8 kB / 1.128 GB, free: 14.29 MB / 0.8887 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.001451/2.089, allocations: 0.937 MB / 1.129 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005094/2.089, allocations: 165.5 kB / 1.129 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/2.089, allocations: 4 kB / 1.129 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005323/2.09, allocations: 195 kB / 1.13 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/2.091, allocations: 186.2 kB / 1.13 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006183/2.097, allocations: 2.89 MB / 1.133 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007035/2.098, allocations: 0.804 MB / 1.133 GB, free: 8.984 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005956/2.099, allocations: 59.25 kB / 1.133 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/2.099, allocations: 111.4 kB / 1.134 GB, free: 8.816 MB / 0.8887 GB Notification: Performance of SimCode: time 2.093e-06/2.099, allocations: 0 / 1.134 GB, free: 8.816 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04035/2.14, allocations: 8.79 MB / 1.142 GB, free: 272 kB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003733/2.14, allocations: 211.8 kB / 1.142 GB, free: 16 kB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.462/5.602, allocations: 0 / 1.142 GB, free: 16 kB / 0.8887 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat does not exist to compare? outputFormat=mat