Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",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.00109/0.00109, allocations: 100.2 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.001231/0.001231, 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.381/1.381, allocations: 223.2 MB / 239.9 MB, free: 5.223 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.427/2.427, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003717, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7376/0.738, allocations: 142.3 MB / 0.9536 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.001792/0.7399, allocations: 1.24 MB / 0.9548 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.7411, allocations: 0.8073 MB / 0.9556 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.7413, allocations: 1.031 kB / 0.9556 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.7415, allocations: 58.05 kB / 0.9556 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004199/0.7419, allocations: 123.9 kB / 0.9557 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.615e-05/0.742, allocations: 5.297 kB / 0.9558 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.7423, allocations: 243.7 kB / 0.956 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.257e-05/0.7424, allocations: 44.48 kB / 0.956 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.7427, allocations: 122.9 kB / 0.9561 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.7429, allocations: 129.8 kB / 0.9563 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.663e-05/0.7429, allocations: 15.81 kB / 0.9563 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003155/0.7461, allocations: 0.4992 MB / 0.9568 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.7462, allocations: 46.56 kB / 0.9568 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.29e-05/0.7463, allocations: 73.42 kB / 0.9569 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005049/0.7468, allocations: 435 kB / 0.9573 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.7468, allocations: 1.312 kB / 0.9573 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7468, allocations: 0 / 0.9573 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.7468, allocations: 0 / 0.9573 GB, free: 5.422 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001357/0.7482, allocations: 0.6177 MB / 0.9579 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.7482, allocations: 9.531 kB / 0.9579 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.7483, allocations: 38.5 kB / 0.958 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.7484, allocations: 33.89 kB / 0.958 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.7489, allocations: 359.1 kB / 0.9583 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.749, allocations: 7.062 kB / 0.9583 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.749, allocations: 4.531 kB / 0.9583 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.7491, allocations: 93.89 kB / 0.9584 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.7492, allocations: 0 / 0.9584 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.7492, allocations: 5.344 kB / 0.9584 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.7492, allocations: 3.984 kB / 0.9584 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.429e-05/0.7493, allocations: 64.14 kB / 0.9585 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.7497, allocations: 356.4 kB / 0.9588 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.7498, allocations: 106.8 kB / 0.9589 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.7498, allocations: 9.359 kB / 0.9589 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.7498, allocations: 33.31 kB / 0.959 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.7498, allocations: 0 / 0.959 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003365/0.7502, allocations: 184.7 kB / 0.9592 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.7502, allocations: 130.4 kB / 0.9593 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005618/0.7508, allocations: 0.4998 MB / 0.9598 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.7508, allocations: 31.95 kB / 0.9598 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.945e-05/0.7509, allocations: 160.1 kB / 0.96 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.751, allocations: 13.8 kB / 0.96 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.751, allocations: 5 kB / 0.96 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.7511, allocations: 343.6 kB / 0.9603 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.7513, allocations: 117 kB / 0.9604 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.7515, allocations: 188.1 kB / 0.9606 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.7517, allocations: 129.6 kB / 0.9607 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7517, allocations: 1 kB / 0.9607 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004558/0.7521, allocations: 327.7 kB / 0.961 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.7522, allocations: 5.562 kB / 0.961 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.7522, allocations: 1 kB / 0.961 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.7522, allocations: 6 kB / 0.961 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.7524, allocations: 16.98 kB / 0.9611 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.7524, allocations: 1.219 kB / 0.9611 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.7526, allocations: 28.75 kB / 0.9611 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.7526, allocations: 7.953 kB / 0.9611 GB, free: 2.262 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001555/0.7528, allocations: 180.1 kB / 0.9613 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.7528, allocations: 33.47 kB / 0.9613 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.7531, allocations: 185.3 kB / 0.9615 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.7531, allocations: 5.859 kB / 0.9615 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.7531, allocations: 1 kB / 0.9615 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.7532, allocations: 5.938 kB / 0.9615 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.7534, allocations: 292.4 kB / 0.9618 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7534, allocations: 0.9375 kB / 0.9618 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.995e-05/0.7535, allocations: 16.02 kB / 0.9618 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.7535, allocations: 5.062 kB / 0.9618 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.7535, allocations: 10.09 kB / 0.9618 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.7535, allocations: 1.031 kB / 0.9618 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7536, allocations: 2.094 kB / 0.9618 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.7538, allocations: 229.9 kB / 0.962 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.7539, allocations: 134.9 kB / 0.9621 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.754, allocations: 9.766 kB / 0.9622 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.7541, allocations: 10.17 kB / 0.9622 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.7542, allocations: 7.547 kB / 0.9622 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.7542, allocations: 3.469 kB / 0.9622 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000402/0.7546, allocations: 374.2 kB / 0.9625 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7546, allocations: 4 kB / 0.9625 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005245/0.7551, allocations: 101.5 kB / 0.9626 GB, free: 1.078 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.000797/0.7559, allocations: 0.9982 MB / 0.9636 GB, free: 124 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003394/0.7563, allocations: 187.9 kB / 0.9638 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7563, allocations: 0 / 0.9638 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.887e-05/0.7564, allocations: 60.47 kB / 0.9638 GB, free: 0 / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.7567, allocations: 47.56 kB / 0.9639 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.7585, allocations: 1.456 MB / 0.9653 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.7589, allocations: 0.8208 MB / 0.9661 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001531/0.7591, allocations: 51.25 kB / 0.9662 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.7592, allocations: 78.31 kB / 0.9662 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.7592, allocations: 1.344 kB / 0.9662 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.7892, allocations: 9.398 MB / 0.9754 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/0.7894, allocations: 210.2 kB / 0.9756 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.656, allocations: 0 / 0.9756 GB, free: 9.07 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat does not exist to compare? outputFormat=mat