Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.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.Convection.Examples.Exterior,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Convection_Examples_Exterior",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.001209/0.001209, allocations: 99.86 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.001547/0.001548, 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.38/1.38, allocations: 223.2 MB / 239.9 MB, free: 5.246 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.419/2.419, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003415, allocations: 12 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7926/0.7929, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.002291/0.7953, allocations: 2.142 MB / 0.9557 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002233/0.7975, allocations: 1.65 MB / 0.9573 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.7977, allocations: 4.219 kB / 0.9573 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.264e-05/0.7978, allocations: 35.14 kB / 0.9573 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004074/0.7982, allocations: 157 kB / 0.9575 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006492/0.7988, allocations: 276 kB / 0.9577 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004508/0.7993, allocations: 351.1 kB / 0.9581 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.7995, allocations: 113 kB / 0.9582 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.7997, allocations: 159.8 kB / 0.9583 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.7999, allocations: 149.4 kB / 0.9585 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.7999, allocations: 13.72 kB / 0.9585 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005675/0.8005, allocations: 415 kB / 0.9589 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.174e-05/0.8006, allocations: 56.12 kB / 0.9589 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.425e-05/0.8006, allocations: 98.45 kB / 0.959 GB, free: 4 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.801, allocations: 376.9 kB / 0.9594 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.801, allocations: 0 / 0.9594 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.801, allocations: 1.375 kB / 0.9594 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.801, allocations: 0 / 0.9594 GB, free: 3.75 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008316/0.8018, allocations: 0.6486 MB / 0.96 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.8019, allocations: 9.281 kB / 0.96 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.169e-05/0.802, allocations: 72.44 kB / 0.9601 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007987/0.8028, allocations: 116 kB / 0.9602 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.8031, allocations: 304 kB / 0.9605 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.8031, allocations: 25.56 kB / 0.9605 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.8032, allocations: 32.41 kB / 0.9605 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006482/0.8038, allocations: 315.2 kB / 0.9608 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.8039, allocations: 0.9375 kB / 0.9608 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.8039, allocations: 10 kB / 0.9609 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.8039, allocations: 12.05 kB / 0.9609 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007724/0.8047, allocations: 296.2 kB / 0.9612 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.8062, allocations: 0.907 MB / 0.962 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008368/0.807, allocations: 297.4 kB / 0.9623 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.8071, allocations: 95.55 kB / 0.9624 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.8072, allocations: 40.94 kB / 0.9625 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 2.555e-06/0.8072, allocations: 0 / 0.9625 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.001239/0.8084, allocations: 402.9 kB / 0.9628 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.8085, allocations: 54.97 kB / 0.9629 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.8088, allocations: 335.6 kB / 0.9632 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.8088, allocations: 29.7 kB / 0.9632 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.253e-05/0.8089, allocations: 184.7 kB / 0.9634 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.809, allocations: 81.25 kB / 0.9635 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-05/0.809, allocations: 6.812 kB / 0.9635 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.294e-05/0.8091, allocations: 349 kB / 0.9638 GB, free: 244 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.8094, allocations: 103.2 kB / 0.9639 GB, free: 200 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.8097, allocations: 112.7 kB / 0.964 GB, free: 148 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.81, allocations: 115.4 kB / 0.9641 GB, free: 96 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.8101, allocations: 0 / 0.9641 GB, free: 96 kB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009245/0.811, allocations: 352.1 kB / 0.9645 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.811, allocations: 5.188 kB / 0.9645 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.811, allocations: 0 / 0.9645 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.811, allocations: 5.172 kB / 0.9645 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.8115, allocations: 83.23 kB / 0.9646 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.8115, allocations: 5.156 kB / 0.9646 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.8118, allocations: 45.94 kB / 0.9646 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.8119, allocations: 11.73 kB / 0.9646 GB, free: 15.84 MB / 0.7325 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 (33): * Single equations (assignments): 33 * 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.0001487/0.812, allocations: 146.8 kB / 0.9648 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.8121, allocations: 41.27 kB / 0.9648 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009678/0.8131, allocations: 379.4 kB / 0.9652 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.8131, allocations: 10.2 kB / 0.9652 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.8131, allocations: 0.875 kB / 0.9652 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.8132, allocations: 0 / 0.9652 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003623/0.8135, allocations: 349.4 kB / 0.9655 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.8135, allocations: 1 kB / 0.9655 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000329/0.8139, allocations: 62.34 kB / 0.9656 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.8139, allocations: 5.984 kB / 0.9656 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.8139, allocations: 9.953 kB / 0.9656 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.8139, allocations: 1 kB / 0.9656 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.8139, allocations: 0 / 0.9656 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007956/0.8147, allocations: 296.7 kB / 0.9659 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.8149, allocations: 146.3 kB / 0.966 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/0.8149, allocations: 5.266 kB / 0.966 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.8152, allocations: 32.03 kB / 0.9661 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.8153, allocations: 17.92 kB / 0.9661 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.8153, allocations: 9.188 kB / 0.9661 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002547/0.8155, allocations: 251.2 kB / 0.9663 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8156, allocations: 0.9688 kB / 0.9663 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003744/0.8159, allocations: 100.1 kB / 0.9664 GB, free: 14.53 MB / 0.7325 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 (21): * Single equations (assignments): 21 * 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.001187/0.8171, allocations: 0.8705 MB / 0.9673 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007774/0.8179, allocations: 256.2 kB / 0.9675 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8179, allocations: 1.031 kB / 0.9675 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.8183, allocations: 111.4 kB / 0.9676 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005657/0.8189, allocations: 107.5 kB / 0.9677 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.8205, allocations: 0.9709 MB / 0.9687 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.8208, allocations: 0.7855 MB / 0.9694 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003231/0.8211, allocations: 71.88 kB / 0.9695 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.8213, allocations: 112.6 kB / 0.9696 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.8214, allocations: 4.812 kB / 0.9696 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.8413, allocations: 7.834 MB / 0.9773 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.8415, allocations: 184.6 kB / 0.9774 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.779, allocations: 0 / 0.9774 GB, free: 7.34 MB / 0.7325 GB (rm -f Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Convection_Examples_Exterior_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat does not exist to compare? outputFormat=mat