Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.0009346/0.0009345, allocations: 90.75 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.001142/0.001142, 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.392/1.392, allocations: 223.3 MB / 240 MB, free: 5.297 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.609/2.609, allocations: 390.4 MB / 0.6655 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003275, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7685/0.7688, allocations: 142.3 MB / 0.9538 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001049/0.7699, allocations: 0.9697 MB / 0.9548 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.771, allocations: 0.9391 MB / 0.9557 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.758e-05/0.7711, allocations: 0 / 0.9557 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.36e-05/0.7711, allocations: 0 / 0.9557 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.7714, allocations: 87.91 kB / 0.9558 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.595e-06/0.7715, allocations: 0 / 0.9558 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.027e-05/0.7715, allocations: 1.438 kB / 0.9558 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.551e-05/0.7715, allocations: 1.219 kB / 0.9558 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.666e-05/0.7716, allocations: 9.531 kB / 0.9558 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.941e-05/0.7717, allocations: 4.359 kB / 0.9558 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.482e-06/0.7717, allocations: 0 / 0.9558 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.7719, allocations: 105.1 kB / 0.9559 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.148e-06/0.7719, allocations: 0 / 0.9559 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.518e-05/0.7719, allocations: 26.98 kB / 0.9559 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.772, allocations: 68.33 kB / 0.956 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.772, allocations: 1.438 kB / 0.956 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7721, allocations: 0 / 0.956 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.7721, allocations: 0 / 0.956 GB, free: 6.453 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002237/0.7723, allocations: 349.2 kB / 0.9563 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.7723, allocations: 8.469 kB / 0.9563 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.322e-05/0.7724, allocations: 107.5 kB / 0.9564 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.7724, allocations: 79.23 kB / 0.9565 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.485e-05/0.7725, allocations: 253.7 kB / 0.9568 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.7725, allocations: 150.6 kB / 0.9569 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.7726, allocations: 152 kB / 0.9571 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.546e-05/0.7726, allocations: 109 kB / 0.9572 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.7726, allocations: 75.28 kB / 0.9572 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.7726, allocations: 152.4 kB / 0.9574 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.7727, allocations: 150.6 kB / 0.9575 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.7727, allocations: 154.5 kB / 0.9577 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.7729, allocations: 455.2 kB / 0.9581 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.85e-05/0.7729, allocations: 166.5 kB / 0.9583 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.559e-05/0.7729, allocations: 80.14 kB / 0.9583 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.7729, allocations: 80.97 kB / 0.9584 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.773, allocations: 109.8 kB / 0.9585 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.773, allocations: 0 / 0.9585 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.688e-05/0.773, allocations: 35.09 kB / 0.9586 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.7731, allocations: 126.7 kB / 0.9587 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.7731, allocations: 105 kB / 0.9588 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.29e-06/0.7732, allocations: 27.11 kB / 0.9588 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.663e-05/0.7732, allocations: 80.14 kB / 0.9589 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-06/0.7732, allocations: 4.062 kB / 0.9589 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.7732, allocations: 4 kB / 0.9589 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.146e-05/0.7732, allocations: 312.2 kB / 0.9592 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-06/0.7732, allocations: 0 / 0.9592 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.716e-06/0.7732, allocations: 0 / 0.9592 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.35e-05/0.7733, allocations: 76.31 kB / 0.9593 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/0.7733, allocations: 75.28 kB / 0.9593 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.346e-05/0.7733, allocations: 32.41 kB / 0.9594 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.7734, allocations: 80.72 kB / 0.9594 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.7734, allocations: 88.11 kB / 0.9595 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.7734, allocations: 155.7 kB / 0.9597 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.025e-05/0.7734, allocations: 80.03 kB / 0.9597 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/0.7735, allocations: 151.6 kB / 0.9599 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.818e-05/0.7735, allocations: 80.03 kB / 0.96 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.7735, allocations: 80.23 kB / 0.96 GB, free: 2.125 MB / 0.7169 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 (0): * Single equations (assignments): 0 * 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 5.432e-05/0.7736, allocations: 265.5 kB / 0.9603 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.7736, allocations: 106.1 kB / 0.9604 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.7737, allocations: 117.8 kB / 0.9605 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.7737, allocations: 176.3 kB / 0.9607 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-05/0.7737, allocations: 181.1 kB / 0.9608 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.289e-05/0.7737, allocations: 181.4 kB / 0.961 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.7739, allocations: 415.4 kB / 0.9614 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.7739, allocations: 102 kB / 0.9615 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.437e-05/0.7739, allocations: 105.9 kB / 0.9616 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.507e-05/0.7739, allocations: 180.9 kB / 0.9618 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.774, allocations: 185.2 kB / 0.962 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.752e-05/0.7741, allocations: 189.2 kB / 0.9621 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-05/0.7741, allocations: 177.1 kB / 0.9623 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.7742, allocations: 303.1 kB / 0.9626 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-05/0.7743, allocations: 187.9 kB / 0.9628 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.357e-05/0.7744, allocations: 185.4 kB / 0.963 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.7745, allocations: 102.1 kB / 0.9631 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.7745, allocations: 177.2 kB / 0.9632 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.7746, allocations: 109.9 kB / 0.9633 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.261e-05/0.7746, allocations: 81.09 kB / 0.9634 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.403e-06/0.7746, allocations: 0 / 0.9634 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003351/0.775, allocations: 52.3 kB / 0.9635 GB, free: 14.45 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 (0): * Single equations (assignments): 0 * 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.0006815/0.7757, allocations: 0.9315 MB / 0.9644 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.308e-05/0.7757, allocations: 5.125 kB / 0.9644 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7757, allocations: 4 kB / 0.9644 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.7757, allocations: 0.9375 kB / 0.9644 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.776, allocations: 0.5222 MB / 0.9649 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006439/0.7767, allocations: 0.5291 MB / 0.9654 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.7769, allocations: 0.6743 MB / 0.9661 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.246e-05/0.7769, allocations: 5.188 kB / 0.9661 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.777, allocations: 8.531 kB / 0.9661 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.777, allocations: 0 / 0.9661 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01227/0.7892, allocations: 1.652 MB / 0.9677 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/0.7895, allocations: 265.6 kB / 0.9679 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.589, allocations: 1.688 kB / 0.9679 GB, free: 10.68 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat does not exist to compare? outputFormat=mat