Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.414/2.414, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001334/0.001334, allocations: 176.8 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.757/1.757, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009932/0.0009931, allocations: 95.41 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.399e-05/4.403e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3172, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.492/4.809, allocations: 1.731 GB / 2.944 GB, free: 107.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/4.809, allocations: 90.33 kB / 2.944 GB, free: 107.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1658/4.975, allocations: 68.39 MB / 3.01 GB, free: 44.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.286e-06/4.975, allocations: 0 / 3.01 GB, free: 44.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001236/4.975, allocations: 24 kB / 3.01 GB, free: 44.78 MB / 1.151 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.003098/4.979, allocations: 1.114 MB / 3.012 GB, free: 43.61 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.829e-05/4.979, allocations: 8.031 kB / 3.012 GB, free: 43.61 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003693/4.979, allocations: 147.5 kB / 3.012 GB, free: 43.45 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/4.98, allocations: 210.4 kB / 3.012 GB, free: 43.25 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/4.982, allocations: 0.6231 MB / 3.012 GB, free: 42.58 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-05/4.982, allocations: 73.98 kB / 3.013 GB, free: 42.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/4.982, allocations: 84 kB / 3.013 GB, free: 42.42 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/4.984, allocations: 0.9022 MB / 3.014 GB, free: 41.48 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/4.984, allocations: 3.938 kB / 3.014 GB, free: 41.48 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/4.984, allocations: 43.98 kB / 3.014 GB, free: 41.44 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/4.984, allocations: 23.95 kB / 3.014 GB, free: 41.41 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/4.986, allocations: 1.069 MB / 3.015 GB, free: 40.34 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00444/4.99, allocations: 2.511 MB / 3.017 GB, free: 37.77 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/4.992, allocations: 0.8382 MB / 3.018 GB, free: 36.89 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/4.992, allocations: 259.2 kB / 3.018 GB, free: 36.64 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-05/4.992, allocations: 37.14 kB / 3.018 GB, free: 36.61 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006018/4.993, allocations: 409.3 kB / 3.019 GB, free: 36.18 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.915e-06/4.993, allocations: 4 kB / 3.019 GB, free: 36.18 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.00161/4.995, allocations: 0.6875 MB / 3.019 GB, free: 35.48 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/4.995, allocations: 244.1 kB / 3.019 GB, free: 35.19 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008954/4.996, allocations: 0.5972 MB / 3.02 GB, free: 34.58 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.909e-05/4.996, allocations: 41.69 kB / 3.02 GB, free: 34.54 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/4.996, allocations: 392.2 kB / 3.02 GB, free: 34.14 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/4.996, allocations: 244.4 kB / 3.021 GB, free: 33.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/4.996, allocations: 12 kB / 3.021 GB, free: 33.89 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001073/4.996, allocations: 378.8 kB / 3.021 GB, free: 33.51 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/4.997, allocations: 201.5 kB / 3.021 GB, free: 33.32 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/4.997, allocations: 309 kB / 3.022 GB, free: 32.98 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/4.997, allocations: 246 kB / 3.022 GB, free: 32.75 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/4.997, allocations: 0 / 3.022 GB, free: 32.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001513/4.999, allocations: 0.6953 MB / 3.022 GB, free: 32.04 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/4.999, allocations: 8 kB / 3.023 GB, free: 32.03 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/4.999, allocations: 0 / 3.023 GB, free: 32.03 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/5, allocations: 84.83 kB / 3.023 GB, free: 31.95 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/5, allocations: 143.8 kB / 3.023 GB, free: 31.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/5.002, allocations: 1.501 MB / 3.024 GB, free: 30.16 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006789/5.003, allocations: 91.42 kB / 3.024 GB, free: 30.07 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/5.003, allocations: 27.98 kB / 3.024 GB, free: 30.05 MB / 1.151 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.0002292/5.003, allocations: 140.8 kB / 3.024 GB, free: 29.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/5.003, allocations: 79.06 kB / 3.025 GB, free: 29.82 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/5.005, allocations: 0.9655 MB / 3.025 GB, free: 28.84 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/5.005, allocations: 11.95 kB / 3.025 GB, free: 28.83 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/5.005, allocations: 4 kB / 3.025 GB, free: 28.82 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/5.005, allocations: 3.984 kB / 3.025 GB, free: 28.82 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003036/5.008, allocations: 1.893 MB / 3.027 GB, free: 26.87 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/5.008, allocations: 0 / 3.027 GB, free: 26.87 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/5.009, allocations: 147.8 kB / 3.027 GB, free: 26.72 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005366/5.009, allocations: 84.77 kB / 3.028 GB, free: 26.64 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.985e-05/5.01, allocations: 27.98 kB / 3.028 GB, free: 26.61 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/5.011, allocations: 1.532 MB / 3.029 GB, free: 24.94 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/5.011, allocations: 3.938 kB / 3.029 GB, free: 24.93 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/5.013, allocations: 0.8728 MB / 3.03 GB, free: 24.04 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004773/5.013, allocations: 287.7 kB / 3.03 GB, free: 23.74 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/5.013, allocations: 20 kB / 3.03 GB, free: 23.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006227/5.014, allocations: 67.89 kB / 3.03 GB, free: 23.65 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/5.014, allocations: 68.58 kB / 3.03 GB, free: 23.59 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.789e-05/5.014, allocations: 35.97 kB / 3.03 GB, free: 23.55 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000679/5.015, allocations: 483.2 kB / 3.031 GB, free: 23.09 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/5.015, allocations: 0 / 3.031 GB, free: 23.09 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001244/5.016, allocations: 371 kB / 3.031 GB, free: 22.72 MB / 1.151 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.003635/5.02, allocations: 2.351 MB / 3.033 GB, free: 20.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001298/5.021, allocations: 0.6905 MB / 3.034 GB, free: 19.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/5.021, allocations: 4.125 kB / 3.034 GB, free: 19.79 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007004/5.022, allocations: 474.8 kB / 3.035 GB, free: 19.32 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/5.023, allocations: 230.6 kB / 3.035 GB, free: 19.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004585/5.028, allocations: 1.587 MB / 3.036 GB, free: 17.47 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/5.028, allocations: 1.039 MB / 3.037 GB, free: 16.41 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009379/5.029, allocations: 258.2 kB / 3.038 GB, free: 16.15 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/5.03, allocations: 379.3 kB / 3.038 GB, free: 15.78 MB / 1.151 GB Notification: Performance of SimCode: time 1.072e-06/5.03, allocations: 3.938 kB / 3.038 GB, free: 15.77 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7279/5.758, allocations: 31.29 MB / 3.069 GB, free: 388.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/5.758, allocations: 259.5 kB / 3.069 GB, free: 388.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.049/8.807, allocations: 2.891 kB / 3.069 GB, free: 388.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat does not exist to compare? outputFormat=mat