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.0007748/0.0007748, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008324/0.0008324, allocations: 172.7 kB / 15.95 MB, free: 208 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.348/1.348, allocations: 223.3 MB / 240 MB, free: 5.434 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.384/2.384, allocations: 390.4 MB / 0.6655 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003971, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7226/0.723, allocations: 142.3 MB / 0.9538 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.001505/0.7246, allocations: 1.269 MB / 0.9551 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.7257, allocations: 0.8305 MB / 0.9559 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.58e-05/0.7259, allocations: 2.844 kB / 0.9559 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.7261, allocations: 53.44 kB / 0.9559 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.7265, allocations: 116.6 kB / 0.9561 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.468e-05/0.7265, allocations: 9.797 kB / 0.9561 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.7269, allocations: 326.5 kB / 0.9564 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.656e-05/0.727, allocations: 45.83 kB / 0.9564 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.7272, allocations: 126.8 kB / 0.9565 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.7273, allocations: 119.5 kB / 0.9567 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.7274, allocations: 11.38 kB / 0.9567 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00286/0.7302, allocations: 0.4887 MB / 0.9571 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.704e-05/0.7303, allocations: 43.2 kB / 0.9572 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.7304, allocations: 69.73 kB / 0.9573 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.7308, allocations: 450.5 kB / 0.9577 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7309, allocations: 0 / 0.9577 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7309, allocations: 0 / 0.9577 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.7309, allocations: 0 / 0.9577 GB, free: 5.332 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.001011/0.7319, allocations: 0.6069 MB / 0.9583 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.7319, allocations: 13.56 kB / 0.9583 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.755e-05/0.732, allocations: 34.5 kB / 0.9583 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.538e-05/0.732, allocations: 38.69 kB / 0.9584 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.7324, allocations: 354.6 kB / 0.9587 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.7324, allocations: 6.75 kB / 0.9587 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.7325, allocations: 3.969 kB / 0.9587 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.7326, allocations: 102.7 kB / 0.9588 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.7326, allocations: 3.938 kB / 0.9588 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.7326, allocations: 0 / 0.9588 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.7327, allocations: 1.344 kB / 0.9588 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.567e-05/0.7328, allocations: 68.25 kB / 0.9589 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.7331, allocations: 351.9 kB / 0.9592 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.584e-05/0.7332, allocations: 103.2 kB / 0.9593 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.899e-05/0.7332, allocations: 71.95 kB / 0.9594 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.7333, allocations: 1.031 kB / 0.9594 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.7333, allocations: 40.75 kB / 0.9594 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.7333, allocations: 0 / 0.9594 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003204/0.7336, allocations: 181.6 kB / 0.9596 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.7337, allocations: 137.6 kB / 0.9597 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005088/0.7342, allocations: 0.4976 MB / 0.9602 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.7342, allocations: 33.7 kB / 0.9602 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.882e-05/0.7343, allocations: 164.8 kB / 0.9604 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.7343, allocations: 14.56 kB / 0.9604 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.176e-06/0.7343, allocations: 0 / 0.9604 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.898e-05/0.7344, allocations: 340.4 kB / 0.9607 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.7345, allocations: 117 kB / 0.9608 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.7347, allocations: 186.4 kB / 0.961 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.7349, allocations: 134.2 kB / 0.9612 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7349, allocations: 0 / 0.9612 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003846/0.7353, allocations: 320.1 kB / 0.9615 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.7353, allocations: 5.281 kB / 0.9615 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.7353, allocations: 4.844 kB / 0.9615 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.7353, allocations: 1.906 kB / 0.9615 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.7355, allocations: 16.95 kB / 0.9615 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.7355, allocations: 12.86 kB / 0.9615 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.7357, allocations: 29.28 kB / 0.9615 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.7357, allocations: 3.906 kB / 0.9615 GB, free: 2.121 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.0001332/0.7358, allocations: 184.6 kB / 0.9617 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.7359, allocations: 29.16 kB / 0.9617 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/0.7362, allocations: 185.2 kB / 0.9619 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.7362, allocations: 2.031 kB / 0.9619 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7362, allocations: 0.9688 kB / 0.9619 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.7362, allocations: 6.203 kB / 0.9619 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.7364, allocations: 284.9 kB / 0.9622 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.7364, allocations: 4 kB / 0.9622 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.493e-05/0.7365, allocations: 20.17 kB / 0.9622 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.7365, allocations: 1.062 kB / 0.9622 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.7365, allocations: 1.969 kB / 0.9622 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7365, allocations: 6.281 kB / 0.9622 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7366, allocations: 5.094 kB / 0.9622 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.7368, allocations: 196.4 kB / 0.9624 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.7369, allocations: 135.8 kB / 0.9625 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.7369, allocations: 0.8125 kB / 0.9625 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.7371, allocations: 14.48 kB / 0.9626 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.7371, allocations: 11.23 kB / 0.9626 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.7371, allocations: 6.906 kB / 0.9626 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003859/0.7375, allocations: 378.3 kB / 0.9629 GB, free: 1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.91e-07/0.7375, allocations: 0 / 0.9629 GB, free: 1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000452/0.738, allocations: 108.5 kB / 0.963 GB, free: 0.9844 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.0005928/0.7386, allocations: 0.7555 MB / 0.9638 GB, free: 292 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003103/0.7389, allocations: 196 kB / 0.964 GB, free: 192 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7389, allocations: 0 / 0.964 GB, free: 192 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.185e-05/0.739, allocations: 46.12 kB / 0.964 GB, free: 172 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.7393, allocations: 51.89 kB / 0.9641 GB, free: 148 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/0.7425, allocations: 2.332 MB / 0.9663 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.7429, allocations: 0.8111 MB / 0.9671 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001444/0.743, allocations: 46.72 kB / 0.9672 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.7431, allocations: 78.97 kB / 0.9672 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of SimCode: time 7.21e-07/0.7431, allocations: 0 / 0.9672 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.7663, allocations: 9.603 MB / 0.9766 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/0.7666, allocations: 221.9 kB / 0.9768 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.532, allocations: 4.062 kB / 0.9768 GB, free: 8.203 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