Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.Examples.InteriorConvection,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",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.00131/0.00131, allocations: 99.08 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.00152/0.00152, 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 1.34/1.34, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.387/2.387, allocations: 390.3 MB / 0.6653 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003617, allocations: 15.98 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7965/0.7968, allocations: 142.3 MB / 0.9536 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.001958/0.7989, allocations: 1.488 MB / 0.955 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.8, allocations: 0.6562 MB / 0.9557 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.064e-05/0.8001, allocations: 1.531 kB / 0.9557 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.8001, allocations: 12.89 kB / 0.9557 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.8004, allocations: 48.17 kB / 0.9557 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.8006, allocations: 59.36 kB / 0.9558 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.8009, allocations: 90.94 kB / 0.9559 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.801, allocations: 39.05 kB / 0.9559 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.656e-05/0.8011, allocations: 38.08 kB / 0.956 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.8012, allocations: 44.95 kB / 0.956 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.8013, allocations: 8.844 kB / 0.956 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.061e-05/0.8013, allocations: 13.03 kB / 0.956 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.8014, allocations: 14.77 kB / 0.956 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.8014, allocations: 43.11 kB / 0.9561 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.8015, allocations: 87.92 kB / 0.9562 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.8015, allocations: 0 / 0.9562 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8016, allocations: 0 / 0.9562 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8016, allocations: 0 / 0.9562 GB, free: 6.156 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005385/0.8021, allocations: 397.4 kB / 0.9565 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.8022, allocations: 9.25 kB / 0.9566 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.8022, allocations: 44.69 kB / 0.9566 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.8022, allocations: 14.61 kB / 0.9566 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.8024, allocations: 192.2 kB / 0.9568 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.8025, allocations: 10.28 kB / 0.9568 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.8025, allocations: 5.438 kB / 0.9568 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.8027, allocations: 92.16 kB / 0.9569 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.8027, allocations: 3.938 kB / 0.9569 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.8028, allocations: 5.156 kB / 0.9569 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.8028, allocations: 10.27 kB / 0.9569 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/0.803, allocations: 75.78 kB / 0.957 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.8035, allocations: 372.3 kB / 0.9573 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.8038, allocations: 56.83 kB / 0.9574 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.8038, allocations: 1.125 kB / 0.9574 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.8038, allocations: 31.91 kB / 0.9574 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 2.675e-06/0.8038, allocations: 4 kB / 0.9574 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004022/0.8042, allocations: 115.9 kB / 0.9575 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.8043, allocations: 55.41 kB / 0.9576 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.8044, allocations: 151.5 kB / 0.9577 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.8044, allocations: 29.7 kB / 0.9578 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.8045, allocations: 110.9 kB / 0.9579 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.8045, allocations: 11.84 kB / 0.9579 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.8045, allocations: 0 / 0.9579 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.74e-05/0.8046, allocations: 326.4 kB / 0.9582 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-05/0.8047, allocations: 25.36 kB / 0.9582 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.272e-05/0.8048, allocations: 23.81 kB / 0.9582 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.915e-05/0.8049, allocations: 28.88 kB / 0.9583 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.8049, allocations: 0 / 0.9583 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002144/0.8051, allocations: 97.78 kB / 0.9584 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.8051, allocations: 96.53 kB / 0.9585 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.8052, allocations: 0 / 0.9585 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.8052, allocations: 1.938 kB / 0.9585 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.792e-05/0.8053, allocations: 17.58 kB / 0.9585 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.8053, allocations: 4.969 kB / 0.9585 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.197e-05/0.8053, allocations: 10.23 kB / 0.9585 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.8054, allocations: 1.156 kB / 0.9585 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.8054, allocations: 4.906 kB / 0.9585 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001784/0.8056, allocations: 62.2 kB / 0.9586 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-06/0.8056, allocations: 1.406 kB / 0.9586 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-06/0.8056, allocations: 0 / 0.9586 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.8056, allocations: 15.39 kB / 0.9586 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-06/0.8056, allocations: 0 / 0.9586 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.738e-05/0.8057, allocations: 18.52 kB / 0.9586 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.8057, allocations: 5.656 kB / 0.9586 GB, free: 3.922 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 (4): * Single equations (assignments): 4 * 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 7.401e-05/0.8058, allocations: 192 kB / 0.9588 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.8058, allocations: 12.58 kB / 0.9588 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.8061, allocations: 90.39 kB / 0.9589 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.8061, allocations: 7.938 kB / 0.9589 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8061, allocations: 0 / 0.9589 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.8061, allocations: 1.469 kB / 0.9589 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.8063, allocations: 193.1 kB / 0.9591 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.8063, allocations: 0 / 0.9591 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.005e-05/0.8064, allocations: 18.97 kB / 0.9591 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8064, allocations: 0 / 0.9591 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.8064, allocations: 0 / 0.9591 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8064, allocations: 0 / 0.9591 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8064, allocations: 5.75 kB / 0.9591 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.8066, allocations: 182.2 kB / 0.9593 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.8066, allocations: 91.94 kB / 0.9594 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.8067, allocations: 3.953 kB / 0.9594 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.8068, allocations: 14.7 kB / 0.9594 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.8068, allocations: 1.188 kB / 0.9594 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.8068, allocations: 1.219 kB / 0.9594 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.087e-05/0.8069, allocations: 121.3 kB / 0.9595 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8069, allocations: 0 / 0.9595 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003009/0.8072, allocations: 32.78 kB / 0.9595 GB, free: 3.043 MB / 0.7169 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 (3): * Single equations (assignments): 3 * 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.0004518/0.8077, allocations: 0.721 MB / 0.9602 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000311/0.808, allocations: 90.91 kB / 0.9603 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.808, allocations: 0 / 0.9603 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.891e-05/0.8081, allocations: 29.86 kB / 0.9603 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.8084, allocations: 30.88 kB / 0.9604 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.8096, allocations: 0.6658 MB / 0.961 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.8098, allocations: 0.6992 MB / 0.9617 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.001e-05/0.8098, allocations: 11.91 kB / 0.9617 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/0.8099, allocations: 36.33 kB / 0.9617 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8099, allocations: 0 / 0.9617 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01309/0.823, allocations: 2.325 MB / 0.964 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/0.8232, allocations: 200.3 kB / 0.9642 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.576, allocations: 0 / 0.9642 GB, free: 15.74 MB / 0.7325 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat does not exist to compare? outputFormat=mat