Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 183.3 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 223.2 MB / 0.7948 GB, free: 17.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000958/0.000958, allocations: 98.73 kB / 0.9346 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003839, allocations: 12.47 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2656, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1751/0.4408, allocations: 154.7 MB / 1.374 GB, free: 7.215 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/0.4411, allocations: 91.88 kB / 1.374 GB, free: 7.125 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02036/0.4615, allocations: 6.696 MB / 1.381 GB, free: 396 kB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4616, allocations: 0 / 1.381 GB, free: 396 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.103e-05/0.4616, allocations: 8 kB / 1.381 GB, free: 388 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001305/0.4629, allocations: 0.6859 MB / 1.381 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.463, allocations: 8.031 kB / 1.381 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.4631, allocations: 70.53 kB / 1.381 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.4632, allocations: 51.39 kB / 1.381 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/0.4637, allocations: 319.1 kB / 1.382 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.4638, allocations: 29 kB / 1.382 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.609e-05/0.4638, allocations: 32 kB / 1.382 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/0.4645, allocations: 384.9 kB / 1.382 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4645, allocations: 7.922 kB / 1.382 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.4645, allocations: 16 kB / 1.382 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.4646, allocations: 8 kB / 1.382 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005777/0.4651, allocations: 286.4 kB / 1.382 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.4671, allocations: 1.467 MB / 1.384 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000574/0.4677, allocations: 279.4 kB / 1.384 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.4678, allocations: 4.234 kB / 1.384 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.4678, allocations: 42.73 kB / 1.384 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.4678, allocations: 0 / 1.384 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=27): time 0.003366/0.4712, allocations: 0.9413 MB / 1.385 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.4712, allocations: 55.41 kB / 1.385 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.4716, allocations: 320.8 kB / 1.386 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.4716, allocations: 29.7 kB / 1.386 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.4718, allocations: 216.2 kB / 1.386 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/0.4719, allocations: 90.66 kB / 1.386 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/0.4719, allocations: 12 kB / 1.386 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4721, allocations: 342.8 kB / 1.386 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.4723, allocations: 100.4 kB / 1.386 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.4726, allocations: 159.9 kB / 1.386 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.4728, allocations: 129 kB / 1.387 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.4729, allocations: 4 kB / 1.387 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001155/0.474, allocations: 493.4 kB / 1.387 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002887/0.4743, allocations: 0.5293 MB / 1.388 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4743, allocations: 0 / 1.388 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007549/0.4751, allocations: 181.5 kB / 1.388 GB, free: 8.801 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.4753, allocations: 31.98 kB / 1.388 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008092/0.4761, allocations: 0.8083 MB / 1.389 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.4765, allocations: 39.67 kB / 1.389 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.4765, allocations: 15.95 kB / 1.389 GB, free: 7.883 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/0.4765, allocations: 4 kB / 1.389 GB, free: 7.879 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001118/0.4776, allocations: 432.3 kB / 1.389 GB, free: 7.453 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-06/0.4776, allocations: 160 / 1.389 GB, free: 7.453 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006313/0.4783, allocations: 189.7 kB / 1.389 GB, free: 7.266 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.4785, allocations: 35.92 kB / 1.389 GB, free: 7.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003142/0.4816, allocations: 2.437 MB / 1.392 GB, free: 4.664 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.4819, allocations: 39.83 kB / 1.392 GB, free: 4.625 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.482, allocations: 12 kB / 1.392 GB, free: 4.613 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 17 * 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: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002253/0.4822, allocations: 230.5 kB / 1.392 GB, free: 4.379 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.4823, allocations: 43.48 kB / 1.392 GB, free: 4.336 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.647e-05/0.4824, allocations: 44.16 kB / 1.392 GB, free: 4.285 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.4824, allocations: 4 kB / 1.392 GB, free: 4.281 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.4824, allocations: 0 / 1.392 GB, free: 4.281 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4824, allocations: 11.91 kB / 1.392 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005535/0.483, allocations: 413.7 kB / 1.392 GB, free: 3.816 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.483, allocations: 4 kB / 1.392 GB, free: 3.812 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.4831, allocations: 27.94 kB / 1.392 GB, free: 3.785 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006687/0.4838, allocations: 184.5 kB / 1.393 GB, free: 3.602 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.4838, allocations: 4 kB / 1.393 GB, free: 3.598 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003096/0.4869, allocations: 2.425 MB / 1.395 GB, free: 1.043 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.487, allocations: 0 / 1.395 GB, free: 1.043 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.4881, allocations: 0.5434 MB / 1.395 GB, free: 492 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.4882, allocations: 140.5 kB / 1.396 GB, free: 332 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.4883, allocations: 4 kB / 1.396 GB, free: 328 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.4885, allocations: 19.98 kB / 1.396 GB, free: 308 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.4886, allocations: 27.89 kB / 1.396 GB, free: 280 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.4886, allocations: 4 kB / 1.396 GB, free: 276 kB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002917/0.4889, allocations: 263.2 kB / 1.396 GB, free: 12 kB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4889, allocations: 0 / 1.396 GB, free: 12 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006906/0.4896, allocations: 207.7 kB / 1.396 GB, free: 15.8 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 10 * 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: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.001496/0.4911, allocations: 1.103 MB / 1.397 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001384/0.4925, allocations: 0.6171 MB / 1.398 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4926, allocations: 0 / 1.398 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005677/0.4931, allocations: 334.6 kB / 1.398 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.4936, allocations: 89.44 kB / 1.398 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00445/0.4981, allocations: 2.995 MB / 1.401 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005138/0.4986, allocations: 0.8154 MB / 1.402 GB, free: 9.715 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001859/0.4988, allocations: 35.27 kB / 1.402 GB, free: 9.68 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.499, allocations: 111.4 kB / 1.402 GB, free: 9.57 MB / 0.9011 GB Notification: Performance of SimCode: time 9.92e-07/0.499, allocations: 4 kB / 1.402 GB, free: 9.566 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.5297, allocations: 10.51 MB / 1.412 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/0.53, allocations: 217.9 kB / 1.413 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/2.816, allocations: 6.875 kB / 1.413 GB, free: 15.07 MB / 0.9167 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat does not exist to compare? outputFormat=mat