Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.242/2.242, allocations: 390.3 MB / 402.8 MB, free: 6.664 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 176 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 221.3 MB / 0.7915 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009084/0.0009085, allocations: 83.95 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.156e-05/5.188e-05, allocations: 4.938 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2855, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.768/5.053, allocations: 1.732 GB / 2.951 GB, free: 82.07 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/5.053, allocations: 91.94 kB / 2.951 GB, free: 81.98 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1518/5.205, allocations: 68.38 MB / 3.018 GB, free: 13.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.124e-06/5.205, allocations: 0 / 3.018 GB, free: 13.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001194/5.205, allocations: 24 kB / 3.018 GB, free: 13.28 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002856/5.208, allocations: 1.119 MB / 3.019 GB, free: 12.11 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/5.208, allocations: 8.031 kB / 3.019 GB, free: 12.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003133/5.209, allocations: 143.5 kB / 3.019 GB, free: 11.95 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/5.21, allocations: 210.5 kB / 3.019 GB, free: 11.74 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/5.211, allocations: 0.6231 MB / 3.02 GB, free: 11.08 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.316e-05/5.211, allocations: 74 kB / 3.02 GB, free: 11 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/5.211, allocations: 84 kB / 3.02 GB, free: 10.92 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/5.213, allocations: 0.9022 MB / 3.021 GB, free: 9.984 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/5.213, allocations: 0 / 3.021 GB, free: 9.984 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.768e-05/5.213, allocations: 39.95 kB / 3.021 GB, free: 9.945 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/5.213, allocations: 24 kB / 3.021 GB, free: 9.922 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/5.214, allocations: 1.077 MB / 3.022 GB, free: 8.84 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/5.218, allocations: 2.499 MB / 3.024 GB, free: 6.273 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/5.219, allocations: 0.8525 MB / 3.025 GB, free: 5.395 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000353/5.22, allocations: 259.3 kB / 3.025 GB, free: 5.137 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.926e-05/5.22, allocations: 36.77 kB / 3.025 GB, free: 5.102 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005803/5.22, allocations: 413.4 kB / 3.026 GB, free: 4.68 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 4.358e-06/5.22, allocations: 4 kB / 3.026 GB, free: 4.676 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.001478/5.222, allocations: 0.6875 MB / 3.026 GB, free: 3.98 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/5.222, allocations: 240.1 kB / 3.027 GB, free: 3.688 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006453/5.223, allocations: 0.5934 MB / 3.027 GB, free: 3.09 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.372e-05/5.223, allocations: 37.7 kB / 3.027 GB, free: 3.047 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/5.223, allocations: 392.2 kB / 3.028 GB, free: 2.656 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/5.223, allocations: 248.4 kB / 3.028 GB, free: 2.41 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/5.223, allocations: 8 kB / 3.028 GB, free: 2.402 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.949e-05/5.223, allocations: 386.8 kB / 3.028 GB, free: 2.016 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/5.223, allocations: 201.5 kB / 3.028 GB, free: 1.82 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/5.224, allocations: 313 kB / 3.029 GB, free: 1.484 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/5.224, allocations: 250 kB / 3.029 GB, free: 1.242 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/5.224, allocations: 0 / 3.029 GB, free: 1.242 MB / 1.167 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001291/5.225, allocations: 0.6837 MB / 3.03 GB, free: 0.5469 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/5.226, allocations: 4 kB / 3.03 GB, free: 0.543 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/5.226, allocations: 4 kB / 3.03 GB, free: 0.5391 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005755/5.226, allocations: 84.77 kB / 3.03 GB, free: 464 kB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/5.227, allocations: 139.8 kB / 3.03 GB, free: 324 kB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8626/6.089, allocations: 1.512 MB / 3.031 GB, free: 399.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/6.09, allocations: 85.62 kB / 3.031 GB, free: 399.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-05/6.091, allocations: 28.19 kB / 3.031 GB, free: 399.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002568/6.091, allocations: 148 kB / 3.032 GB, free: 399 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/6.091, allocations: 74.62 kB / 3.032 GB, free: 399 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/6.094, allocations: 0.9622 MB / 3.033 GB, free: 398.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/6.094, allocations: 8.438 kB / 3.033 GB, free: 398.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/6.094, allocations: 0.7188 kB / 3.033 GB, free: 398.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/6.094, allocations: 5.547 kB / 3.033 GB, free: 398.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004108/6.098, allocations: 1.888 MB / 3.034 GB, free: 398.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/6.098, allocations: 1.219 kB / 3.034 GB, free: 398.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006687/6.099, allocations: 153.4 kB / 3.035 GB, free: 398.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005479/6.099, allocations: 85.52 kB / 3.035 GB, free: 398.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.591e-05/6.099, allocations: 23.14 kB / 3.035 GB, free: 398.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/6.101, allocations: 1.551 MB / 3.036 GB, free: 397.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/6.101, allocations: 0.5625 kB / 3.036 GB, free: 397.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/6.103, allocations: 0.8674 MB / 3.037 GB, free: 397.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004964/6.104, allocations: 292.3 kB / 3.037 GB, free: 396.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/6.104, allocations: 17.53 kB / 3.037 GB, free: 396.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006387/6.104, allocations: 67.53 kB / 3.037 GB, free: 396.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/6.105, allocations: 60.81 kB / 3.037 GB, free: 396.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.216e-05/6.105, allocations: 32.12 kB / 3.038 GB, free: 396.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009337/6.106, allocations: 489.5 kB / 3.038 GB, free: 396.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/6.106, allocations: 0 / 3.038 GB, free: 396.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00174/6.107, allocations: 363 kB / 3.038 GB, free: 396.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005127/6.113, allocations: 2.353 MB / 3.041 GB, free: 396 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001894/6.115, allocations: 0.6774 MB / 3.041 GB, free: 395.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/6.115, allocations: 1.406 kB / 3.041 GB, free: 395.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009813/6.116, allocations: 474.8 kB / 3.042 GB, free: 395.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/6.117, allocations: 242.2 kB / 3.042 GB, free: 395.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005707/6.123, allocations: 1.597 MB / 3.044 GB, free: 395.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009677/6.124, allocations: 1.04 MB / 3.045 GB, free: 394.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001117/6.125, allocations: 260.5 kB / 3.045 GB, free: 394.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006636/6.125, allocations: 375.6 kB / 3.045 GB, free: 394.6 MB / 1.167 GB Notification: Performance of SimCode: time 2.454e-06/6.126, allocations: 3.719 kB / 3.045 GB, free: 394.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09969/6.225, allocations: 31.3 MB / 3.076 GB, free: 392.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/6.225, allocations: 260 kB / 3.076 GB, free: 392.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.44/9.666, allocations: 0 / 3.076 GB, free: 392.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat does not exist to compare? outputFormat=mat