Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.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.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",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.0007566/0.0007566, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009199/0.00092, allocations: 168.7 kB / 15.95 MB, free: 204 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.373/1.373, allocations: 223.2 MB / 240 MB, free: 5.418 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.312/2.312, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003522, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8554/0.8558, allocations: 142.3 MB / 0.9539 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.002196/0.8581, allocations: 1.875 MB / 0.9557 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008953/0.859, allocations: 0.666 MB / 0.9563 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.8591, allocations: 4.594 kB / 0.9563 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.8595, allocations: 88.23 kB / 0.9564 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.232e-05/0.8596, allocations: 54.64 kB / 0.9565 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.663e-05/0.8596, allocations: 28.66 kB / 0.9565 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.8598, allocations: 192.1 kB / 0.9567 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.86, allocations: 54.44 kB / 0.9567 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.8602, allocations: 65.83 kB / 0.9568 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.8603, allocations: 73.69 kB / 0.9569 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.8603, allocations: 6.719 kB / 0.9569 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.705e-05/0.8603, allocations: 7.875 kB / 0.9569 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.8604, allocations: 28.31 kB / 0.9569 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.8604, allocations: 53.77 kB / 0.957 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.8606, allocations: 130.5 kB / 0.9571 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8606, allocations: 0 / 0.9571 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8606, allocations: 0 / 0.9571 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.8606, allocations: 1.125 kB / 0.9571 GB, free: 5.59 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006188/0.8612, allocations: 474.7 kB / 0.9575 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.8613, allocations: 9.688 kB / 0.9576 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.8613, allocations: 50.7 kB / 0.9576 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.8614, allocations: 26.52 kB / 0.9576 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.8617, allocations: 243.7 kB / 0.9579 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.8617, allocations: 14.06 kB / 0.9579 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.8617, allocations: 17.59 kB / 0.9579 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.8621, allocations: 149.4 kB / 0.958 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.8621, allocations: 5.328 kB / 0.958 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.8621, allocations: 9.25 kB / 0.958 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.8621, allocations: 7.703 kB / 0.9581 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.8624, allocations: 118.1 kB / 0.9582 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/0.8631, allocations: 0.4912 MB / 0.9586 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.8635, allocations: 172.2 kB / 0.9588 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.8636, allocations: 80.17 kB / 0.9589 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.8637, allocations: 2.25 kB / 0.9589 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.8637, allocations: 38.56 kB / 0.9589 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.8637, allocations: 0 / 0.9589 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.000491/0.8642, allocations: 215.8 kB / 0.9591 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.8642, allocations: 54.16 kB / 0.9592 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.8643, allocations: 157.9 kB / 0.9593 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.8644, allocations: 29.7 kB / 0.9594 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.8644, allocations: 132.4 kB / 0.9595 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.8645, allocations: 54.06 kB / 0.9595 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.8645, allocations: 4 kB / 0.9595 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.845e-05/0.8646, allocations: 323 kB / 0.9598 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.8647, allocations: 56.84 kB / 0.9599 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.8648, allocations: 50.22 kB / 0.96 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.8649, allocations: 56.7 kB / 0.96 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.8649, allocations: 7.938 kB / 0.96 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003001/0.8652, allocations: 172.1 kB / 0.9602 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.8653, allocations: 4.625 kB / 0.9602 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.8653, allocations: 0 / 0.9602 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.8653, allocations: 1.812 kB / 0.9602 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.8655, allocations: 57.08 kB / 0.9602 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.8655, allocations: 1.188 kB / 0.9602 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.8656, allocations: 13.14 kB / 0.9603 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.8656, allocations: 7.219 kB / 0.9603 GB, free: 2.98 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 18 * 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 8.132e-05/0.8657, allocations: 121.5 kB / 0.9604 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.8657, allocations: 13.75 kB / 0.9604 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.8658, allocations: 32.09 kB / 0.9604 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.8658, allocations: 2.75 kB / 0.9604 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.8658, allocations: 3.953 kB / 0.9604 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.8658, allocations: 3.938 kB / 0.9604 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.8661, allocations: 249.7 kB / 0.9607 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.8661, allocations: 0 / 0.9607 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.8663, allocations: 37.73 kB / 0.9607 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.8663, allocations: 0.9688 kB / 0.9607 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.8663, allocations: 5.031 kB / 0.9607 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.8663, allocations: 9.016 kB / 0.9607 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8663, allocations: 4 kB / 0.9607 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004964/0.8668, allocations: 338.6 kB / 0.961 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.8669, allocations: 94.7 kB / 0.9611 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.8669, allocations: 1 kB / 0.9611 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.867, allocations: 15.08 kB / 0.9611 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.8671, allocations: 13.14 kB / 0.9612 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.8671, allocations: 3 kB / 0.9612 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.241e-05/0.8672, allocations: 120.7 kB / 0.9613 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8672, allocations: 4 kB / 0.9613 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002609/0.8674, allocations: 47.95 kB / 0.9613 GB, free: 2.07 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (heaCapGla.TUns,heaCapGla.TSha,heaCapSha.T) * 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 (15): * Single equations (assignments): 15 * 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.0006845/0.8681, allocations: 0.8622 MB / 0.9622 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003105/0.8684, allocations: 129.5 kB / 0.9623 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8685, allocations: 4 kB / 0.9623 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.8686, allocations: 72.06 kB / 0.9624 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.869, allocations: 23.95 kB / 0.9624 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.8709, allocations: 1.281 MB / 0.9636 GB, free: 304 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.8712, allocations: 0.7236 MB / 0.9643 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.364e-05/0.8712, allocations: 17.67 kB / 0.9644 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.923e-05/0.8713, allocations: 52.14 kB / 0.9644 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of SimCode: time 4.2e-07/0.8713, allocations: 0 / 0.9644 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01544/0.8868, allocations: 2.966 MB / 0.9673 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.887, allocations: 220.3 kB / 0.9675 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.612, allocations: 3.312 kB / 0.9675 GB, free: 13.96 MB / 0.7325 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat does not exist to compare? outputFormat=mat