Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.UndisturbedSoilTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",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.001154/0.001154, allocations: 99 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.001299/0.001299, 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.387/1.387, allocations: 223.2 MB / 239.9 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.467/2.467, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.0003209, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7273/0.7276, allocations: 142.3 MB / 0.9536 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.001969/0.7297, allocations: 1.235 MB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.7312, allocations: 0.8039 MB / 0.9556 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.267e-05/0.7313, allocations: 5.156 kB / 0.9556 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.7316, allocations: 54.69 kB / 0.9556 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004852/0.7321, allocations: 122.9 kB / 0.9557 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.889e-05/0.7321, allocations: 6.281 kB / 0.9557 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.7326, allocations: 237.8 kB / 0.956 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.7327, allocations: 50.78 kB / 0.956 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.733, allocations: 130.6 kB / 0.9561 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.7333, allocations: 121.1 kB / 0.9563 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.137e-05/0.7333, allocations: 11.03 kB / 0.9563 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004687/0.738, allocations: 0.5036 MB / 0.9568 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.793e-05/0.7381, allocations: 39.89 kB / 0.9568 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.7382, allocations: 75.8 kB / 0.9569 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006841/0.7389, allocations: 440.1 kB / 0.9573 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.7389, allocations: 0 / 0.9573 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.056e-06/0.739, allocations: 0 / 0.9573 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.739, allocations: 4 kB / 0.9573 GB, free: 5.398 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.001507/0.7405, allocations: 0.6102 MB / 0.9579 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.7406, allocations: 8.938 kB / 0.9579 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.7406, allocations: 36.34 kB / 0.9579 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.857e-05/0.7407, allocations: 37.12 kB / 0.958 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006012/0.7413, allocations: 355.7 kB / 0.9583 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.7413, allocations: 2.75 kB / 0.9583 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.7414, allocations: 8.125 kB / 0.9583 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.7416, allocations: 97.62 kB / 0.9584 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.7416, allocations: 0 / 0.9584 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.7416, allocations: 5.312 kB / 0.9584 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.7416, allocations: 4 kB / 0.9584 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.7418, allocations: 76.81 kB / 0.9585 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.7422, allocations: 344.7 kB / 0.9588 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.7424, allocations: 106.5 kB / 0.9589 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.7424, allocations: 5.312 kB / 0.9589 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.7424, allocations: 40.19 kB / 0.959 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.7425, allocations: 2.094 kB / 0.959 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004639/0.7429, allocations: 183.3 kB / 0.9591 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/0.743, allocations: 133.9 kB / 0.9593 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008699/0.7439, allocations: 0.5009 MB / 0.9598 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.7439, allocations: 26.42 kB / 0.9598 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.7441, allocations: 160.2 kB / 0.9599 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.7441, allocations: 14.97 kB / 0.96 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/0.7442, allocations: 0 / 0.96 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.7443, allocations: 352.4 kB / 0.9603 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.7445, allocations: 117.3 kB / 0.9604 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.7448, allocations: 181.8 kB / 0.9606 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.7451, allocations: 130.9 kB / 0.9607 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7451, allocations: 0 / 0.9607 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000697/0.7459, allocations: 328.5 kB / 0.961 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.7459, allocations: 4.781 kB / 0.961 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.7459, allocations: 4.984 kB / 0.961 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.7459, allocations: 6.047 kB / 0.961 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.7462, allocations: 16.98 kB / 0.961 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.7462, allocations: 4.938 kB / 0.9611 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.7465, allocations: 25.12 kB / 0.9611 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.7465, allocations: 4.438 kB / 0.9611 GB, free: 2.246 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.0002365/0.7467, allocations: 187.7 kB / 0.9613 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.94e-05/0.7468, allocations: 29.81 kB / 0.9613 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004486/0.7473, allocations: 176.1 kB / 0.9615 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.7473, allocations: 2.875 kB / 0.9615 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.7473, allocations: 5.156 kB / 0.9615 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.7473, allocations: 4.797 kB / 0.9615 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003763/0.7477, allocations: 296.7 kB / 0.9618 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.7477, allocations: 1 kB / 0.9618 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.7478, allocations: 12.22 kB / 0.9618 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.7479, allocations: 1.25 kB / 0.9618 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.7479, allocations: 6.188 kB / 0.9618 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.7479, allocations: 5.172 kB / 0.9618 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.7479, allocations: 5 kB / 0.9618 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003336/0.7482, allocations: 231.1 kB / 0.962 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.7484, allocations: 138.8 kB / 0.9621 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.456e-05/0.7485, allocations: 6.328 kB / 0.9621 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.7487, allocations: 9.203 kB / 0.9621 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.7488, allocations: 7.75 kB / 0.9622 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.7488, allocations: 6.594 kB / 0.9622 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005767/0.7494, allocations: 383.3 kB / 0.9625 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7494, allocations: 0 / 0.9625 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007221/0.7501, allocations: 100.1 kB / 0.9626 GB, free: 1.059 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.0009562/0.7511, allocations: 1 MB / 0.9636 GB, free: 104 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005135/0.7516, allocations: 198.8 kB / 0.9638 GB, free: 0 / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7516, allocations: 1.25 kB / 0.9638 GB, free: 0 / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.7517, allocations: 45.33 kB / 0.9638 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.7522, allocations: 53.86 kB / 0.9639 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.7545, allocations: 1.453 MB / 0.9653 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.755, allocations: 0.8223 MB / 0.9661 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001924/0.7552, allocations: 37.72 kB / 0.9661 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.7554, allocations: 79.44 kB / 0.9662 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.7554, allocations: 0 / 0.9662 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/0.7881, allocations: 9.404 MB / 0.9754 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002619/0.7884, allocations: 214.4 kB / 0.9756 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.618, allocations: 0 / 0.9756 GB, free: 9.051 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat does not exist to compare? outputFormat=mat