Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.CorrectedNFactors,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",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.001206/0.001206, 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.001305/0.001305, 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.434/1.434, allocations: 223.2 MB / 239.9 MB, free: 5.328 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.381/2.381, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003794, allocations: 12 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7529/0.7533, allocations: 142.3 MB / 0.9536 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001543/0.7548, allocations: 1.237 MB / 0.9548 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.756, allocations: 0.8109 MB / 0.9556 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.7561, allocations: 1.438 kB / 0.9556 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.7563, allocations: 58.28 kB / 0.9556 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.7566, allocations: 123.9 kB / 0.9558 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.931e-05/0.7567, allocations: 5.094 kB / 0.9558 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.757, allocations: 231.7 kB / 0.956 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.294e-05/0.7571, allocations: 45.06 kB / 0.956 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.7572, allocations: 139.3 kB / 0.9562 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.7574, allocations: 121.5 kB / 0.9563 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.7574, allocations: 11.06 kB / 0.9563 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003006/0.7604, allocations: 0.5027 MB / 0.9568 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.909e-05/0.7605, allocations: 39.89 kB / 0.9568 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.675e-05/0.7606, allocations: 76.02 kB / 0.9569 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.7611, allocations: 440 kB / 0.9573 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.7611, allocations: 0 / 0.9573 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.714e-06/0.7611, allocations: 0 / 0.9573 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.7611, allocations: 1.969 kB / 0.9573 GB, free: 5.402 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.001039/0.7621, allocations: 0.6131 MB / 0.9579 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.7622, allocations: 8.25 kB / 0.9579 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.7622, allocations: 31.62 kB / 0.9579 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.068e-05/0.7623, allocations: 39.11 kB / 0.958 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.7627, allocations: 358.4 kB / 0.9583 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.7627, allocations: 2.469 kB / 0.9583 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.7628, allocations: 4 kB / 0.9583 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.7629, allocations: 102.6 kB / 0.9584 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.7629, allocations: 0 / 0.9584 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.7629, allocations: 3.938 kB / 0.9584 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.763, allocations: 5.312 kB / 0.9584 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.7631, allocations: 84.8 kB / 0.9585 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.7634, allocations: 339.3 kB / 0.9588 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.318e-05/0.7635, allocations: 112.2 kB / 0.9589 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.7635, allocations: 0 / 0.9589 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.7635, allocations: 37.25 kB / 0.959 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.7635, allocations: 0 / 0.959 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003088/0.7638, allocations: 181.2 kB / 0.9592 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.7639, allocations: 141.8 kB / 0.9593 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005142/0.7644, allocations: 0.4964 MB / 0.9598 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.7644, allocations: 27.7 kB / 0.9598 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.756e-05/0.7645, allocations: 163.3 kB / 0.96 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.7646, allocations: 14.94 kB / 0.96 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/0.7646, allocations: 0 / 0.96 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.73e-05/0.7647, allocations: 344.5 kB / 0.9603 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.7648, allocations: 125.4 kB / 0.9604 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.765, allocations: 179.4 kB / 0.9606 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.7652, allocations: 130 kB / 0.9607 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.7652, allocations: 1.031 kB / 0.9607 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00042/0.7656, allocations: 323.9 kB / 0.961 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.7657, allocations: 8.875 kB / 0.961 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.7657, allocations: 1.125 kB / 0.961 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.7657, allocations: 2.031 kB / 0.961 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.7659, allocations: 20.8 kB / 0.9611 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.7659, allocations: 5 kB / 0.9611 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.7661, allocations: 28.83 kB / 0.9611 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.7661, allocations: 8.047 kB / 0.9611 GB, free: 2.238 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.0001426/0.7662, allocations: 187 kB / 0.9613 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.7663, allocations: 29.41 kB / 0.9613 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.7666, allocations: 181.3 kB / 0.9615 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.7666, allocations: 0.8125 kB / 0.9615 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.7666, allocations: 2.062 kB / 0.9615 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.7666, allocations: 5.188 kB / 0.9615 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.7668, allocations: 292 kB / 0.9618 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7668, allocations: 5.25 kB / 0.9618 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.495e-05/0.7669, allocations: 16.11 kB / 0.9618 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.7669, allocations: 1.531 kB / 0.9618 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.767, allocations: 1.469 kB / 0.9618 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.767, allocations: 1.562 kB / 0.9618 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.767, allocations: 5.75 kB / 0.9618 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.7672, allocations: 229.6 kB / 0.962 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.7673, allocations: 140.5 kB / 0.9621 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.7674, allocations: 5.016 kB / 0.9621 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.7675, allocations: 9.453 kB / 0.9622 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.7675, allocations: 7.266 kB / 0.9622 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.7676, allocations: 11.69 kB / 0.9622 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003767/0.7679, allocations: 378.1 kB / 0.9625 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7679, allocations: 0 / 0.9625 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004693/0.7684, allocations: 97.28 kB / 0.9626 GB, free: 1.062 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.0006669/0.7691, allocations: 1.003 MB / 0.9636 GB, free: 104 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.7694, allocations: 191.7 kB / 0.9638 GB, free: 8 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7694, allocations: 4 kB / 0.9638 GB, free: 4 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.647e-05/0.7695, allocations: 49.56 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.0002892/0.7698, allocations: 46.61 kB / 0.9639 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.7713, allocations: 1.454 MB / 0.9653 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.7717, allocations: 0.8249 MB / 0.9661 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001568/0.7719, allocations: 42.7 kB / 0.9662 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.772, allocations: 78.97 kB / 0.9662 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of SimCode: time 9.62e-07/0.772, allocations: 0 / 0.9662 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.7965, allocations: 9.4 MB / 0.9754 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.7967, allocations: 207.3 kB / 0.9756 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.618, allocations: 0 / 0.9756 GB, free: 9.051 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat does not exist to compare? outputFormat=mat