Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.402/2.402, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.00124/0.00124, allocations: 184 kB / 0.4901 GB, free: 2.234 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.701/1.701, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.001039/0.001039, allocations: 102.5 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003527, allocations: 15.44 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2877, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2062/0.494, allocations: 155.5 MB / 1.381 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003569/0.4944, allocations: 91.94 kB / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02165/0.5161, allocations: 6.69 MB / 1.388 GB, free: 7.176 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.017e-06/0.5161, allocations: 0 / 1.388 GB, free: 7.176 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.95e-05/0.5162, allocations: 15.98 kB / 1.388 GB, free: 7.16 MB / 0.8855 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.001174/0.5174, allocations: 0.6872 MB / 1.388 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.5174, allocations: 8.562 kB / 1.388 GB, free: 6.418 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001358/0.5176, allocations: 74.53 kB / 1.389 GB, free: 6.336 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.067e-05/0.5177, allocations: 55.38 kB / 1.389 GB, free: 6.281 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.5181, allocations: 319.2 kB / 1.389 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.5182, allocations: 36.92 kB / 1.389 GB, free: 5.887 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.392e-05/0.5182, allocations: 32 kB / 1.389 GB, free: 5.855 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006753/0.5189, allocations: 381 kB / 1.389 GB, free: 5.453 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.5189, allocations: 0 / 1.389 GB, free: 5.453 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.519, allocations: 16 kB / 1.389 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.519, allocations: 11.94 kB / 1.389 GB, free: 5.426 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005729/0.5196, allocations: 286.3 kB / 1.39 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.5217, allocations: 1.464 MB / 1.391 GB, free: 3.598 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/0.5223, allocations: 287.4 kB / 1.391 GB, free: 3.309 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.5223, allocations: 240 / 1.391 GB, free: 3.309 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.5223, allocations: 34.8 kB / 1.391 GB, free: 3.266 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=27): time 1.273e-06/0.5223, allocations: 0 / 1.391 GB, free: 3.266 MB / 0.8855 GB Notification: Performance of matching and sorting (n=27): time 0.003437/0.5258, allocations: 0.9452 MB / 1.392 GB, free: 2.297 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.5258, allocations: 55.41 kB / 1.392 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.5262, allocations: 320.9 kB / 1.393 GB, free: 1.91 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.5263, allocations: 29.7 kB / 1.393 GB, free: 1.875 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.5264, allocations: 216.2 kB / 1.393 GB, free: 1.66 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.563e-05/0.5265, allocations: 94.58 kB / 1.393 GB, free: 1.566 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/0.5265, allocations: 8 kB / 1.393 GB, free: 1.559 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.5267, allocations: 350.8 kB / 1.393 GB, free: 1.207 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.5269, allocations: 92.52 kB / 1.393 GB, free: 1.113 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.5272, allocations: 167.9 kB / 1.394 GB, free: 0.9258 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.5275, allocations: 120.4 kB / 1.394 GB, free: 0.8086 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5275, allocations: 4.031 kB / 1.394 GB, free: 0.8047 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001174/0.5287, allocations: 498.4 kB / 1.394 GB, free: 316 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002662/0.529, allocations: 0.5216 MB / 1.395 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.529, allocations: 0 / 1.395 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008191/0.5298, allocations: 182.6 kB / 1.395 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.53, allocations: 39.91 kB / 1.395 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008436/0.5309, allocations: 0.7943 MB / 1.396 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.5312, allocations: 39.67 kB / 1.396 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.5313, allocations: 15.95 kB / 1.396 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.5313, allocations: 4 kB / 1.396 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001075/0.5324, allocations: 436.2 kB / 1.396 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.5324, allocations: 0 / 1.396 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006459/0.533, allocations: 190.2 kB / 1.396 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.5332, allocations: 35.97 kB / 1.396 GB, free: 14 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003086/0.5363, allocations: 2.437 MB / 1.399 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.5367, allocations: 43.69 kB / 1.399 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.5367, allocations: 8 kB / 1.399 GB, free: 11.38 MB / 0.9011 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.000255/0.537, allocations: 222 kB / 1.399 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.242e-05/0.5371, allocations: 51.41 kB / 1.399 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.5372, allocations: 48.16 kB / 1.399 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5372, allocations: 4 kB / 1.399 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.5372, allocations: 7.984 kB / 1.399 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5372, allocations: 0 / 1.399 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006116/0.5378, allocations: 409.7 kB / 1.399 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.5378, allocations: 0 / 1.399 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.538, allocations: 35.88 kB / 1.399 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006548/0.5386, allocations: 172.7 kB / 1.4 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.5387, allocations: 4 kB / 1.4 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003231/0.5419, allocations: 2.437 MB / 1.402 GB, free: 7.812 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5419, allocations: 0 / 1.402 GB, free: 7.812 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.5431, allocations: 0.5395 MB / 1.403 GB, free: 7.254 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000258/0.5434, allocations: 136.6 kB / 1.403 GB, free: 7.102 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.5435, allocations: 7.984 kB / 1.403 GB, free: 7.094 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.5437, allocations: 19.91 kB / 1.403 GB, free: 7.074 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.881e-05/0.5438, allocations: 23.95 kB / 1.403 GB, free: 7.051 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.5438, allocations: 8 kB / 1.403 GB, free: 7.043 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003484/0.5442, allocations: 255.2 kB / 1.403 GB, free: 6.793 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5442, allocations: 4 kB / 1.403 GB, free: 6.789 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008207/0.545, allocations: 207.7 kB / 1.403 GB, free: 6.586 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.001826/0.5469, allocations: 1.095 MB / 1.404 GB, free: 5.461 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001654/0.5485, allocations: 0.6161 MB / 1.405 GB, free: 4.828 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.5486, allocations: 0 / 1.405 GB, free: 4.828 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00064/0.5492, allocations: 338.5 kB / 1.405 GB, free: 4.484 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/0.5498, allocations: 86.14 kB / 1.405 GB, free: 4.402 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004824/0.5547, allocations: 2.994 MB / 1.408 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.5551, allocations: 0.8192 MB / 1.409 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002072/0.5553, allocations: 35.27 kB / 1.409 GB, free: 472 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.5555, allocations: 119.4 kB / 1.409 GB, free: 352 kB / 0.9011 GB Notification: Performance of SimCode: time 2.074e-06/0.5555, allocations: 0 / 1.409 GB, free: 352 kB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03105/0.5866, allocations: 10.52 MB / 1.419 GB, free: 6.102 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.5868, allocations: 222.5 kB / 1.42 GB, free: 5.863 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/2.838, allocations: 0 / 1.42 GB, free: 5.863 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat does not exist to compare? outputFormat=mat