Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.233/2.233, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001153/0.001153, allocations: 180.8 kB / 487.4 MB, free: 5.039 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.3/1.3, allocations: 221.5 MB / 0.7824 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008634/0.0008634, allocations: 102.9 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.41e-05/1.412e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1806, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.8/3.981, allocations: 1.731 GB / 2.937 GB, free: 125.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/3.981, allocations: 92.88 kB / 2.937 GB, free: 125.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1533/4.135, allocations: 67.23 MB / 3.003 GB, free: 64.66 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.585e-06/4.135, allocations: 0 / 3.003 GB, free: 64.66 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.124e-05/4.135, allocations: 24 kB / 3.003 GB, free: 64.63 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.001755/4.136, allocations: 1.119 MB / 3.004 GB, free: 63.46 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/4.136, allocations: 8.562 kB / 3.004 GB, free: 63.45 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/4.137, allocations: 226.4 kB / 3.004 GB, free: 63.23 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008247/4.138, allocations: 0.623 MB / 3.004 GB, free: 62.56 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/4.138, allocations: 32 kB / 3.005 GB, free: 62.53 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/4.138, allocations: 52 kB / 3.005 GB, free: 62.48 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001222/4.14, allocations: 1.027 MB / 3.006 GB, free: 61.45 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/4.141, allocations: 0.7858 MB / 3.006 GB, free: 60.62 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/4.141, allocations: 3.938 kB / 3.006 GB, free: 60.62 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/4.141, allocations: 3.953 kB / 3.006 GB, free: 60.62 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/4.141, allocations: 24 kB / 3.006 GB, free: 60.59 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003483/4.144, allocations: 2.415 MB / 3.009 GB, free: 58.12 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009271/4.145, allocations: 0.7379 MB / 3.009 GB, free: 57.36 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/4.146, allocations: 251.1 kB / 3.01 GB, free: 57.11 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000524/4.146, allocations: 470.4 kB / 3.01 GB, free: 56.55 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005094/4.147, allocations: 387.8 kB / 3.011 GB, free: 56.16 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.875e-06/4.147, allocations: 4 kB / 3.011 GB, free: 56.15 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.00409/4.151, allocations: 1.195 MB / 3.012 GB, free: 54.95 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/4.151, allocations: 244.1 kB / 3.012 GB, free: 54.65 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005835/4.152, allocations: 498.3 kB / 3.012 GB, free: 54.16 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.216e-05/4.152, allocations: 25.7 kB / 3.012 GB, free: 54.13 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/4.152, allocations: 404 kB / 3.013 GB, free: 53.73 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/4.152, allocations: 244.4 kB / 3.013 GB, free: 53.48 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/4.152, allocations: 0 / 3.013 GB, free: 53.48 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/4.152, allocations: 374.8 kB / 3.013 GB, free: 53.11 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/4.152, allocations: 181.5 kB / 3.014 GB, free: 52.93 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/4.153, allocations: 291.5 kB / 3.014 GB, free: 52.62 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002832/4.156, allocations: 0.7735 MB / 3.015 GB, free: 51.85 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/4.156, allocations: 0 / 3.015 GB, free: 51.85 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003889/4.159, allocations: 1.187 MB / 3.016 GB, free: 50.65 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/4.16, allocations: 8 kB / 3.016 GB, free: 50.64 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/4.16, allocations: 0 / 3.016 GB, free: 50.64 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005711/4.16, allocations: 76.84 kB / 3.016 GB, free: 50.56 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/4.161, allocations: 147.8 kB / 3.016 GB, free: 50.42 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/4.162, allocations: 1.449 MB / 3.017 GB, free: 48.84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006678/4.163, allocations: 63.64 kB / 3.017 GB, free: 48.77 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.978e-05/4.163, allocations: 23.98 kB / 3.017 GB, free: 48.75 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.0001682/4.163, allocations: 124.9 kB / 3.018 GB, free: 48.62 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003965/4.167, allocations: 1.187 MB / 3.019 GB, free: 47.43 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/4.167, allocations: 79.14 kB / 3.019 GB, free: 47.35 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004445/4.172, allocations: 1.437 MB / 3.02 GB, free: 45.89 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/4.172, allocations: 8 kB / 3.02 GB, free: 45.89 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/4.172, allocations: 4 kB / 3.02 GB, free: 45.88 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/4.172, allocations: 11.92 kB / 3.02 GB, free: 45.87 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005205/4.177, allocations: 2.241 MB / 3.022 GB, free: 43.58 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/4.177, allocations: 0 / 3.022 GB, free: 43.58 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005617/4.178, allocations: 151.9 kB / 3.023 GB, free: 43.43 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004672/4.178, allocations: 80.72 kB / 3.023 GB, free: 43.35 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/4.178, allocations: 19.98 kB / 3.023 GB, free: 43.33 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/4.18, allocations: 1.477 MB / 3.024 GB, free: 41.74 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/4.18, allocations: 0 / 3.024 GB, free: 41.74 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/4.184, allocations: 1.365 MB / 3.025 GB, free: 40.36 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003791/4.184, allocations: 275.8 kB / 3.026 GB, free: 40.07 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/4.184, allocations: 7.953 kB / 3.026 GB, free: 40.06 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/4.185, allocations: 55.94 kB / 3.026 GB, free: 40 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/4.185, allocations: 56.7 kB / 3.026 GB, free: 39.95 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.485e-05/4.185, allocations: 35.97 kB / 3.026 GB, free: 39.91 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004606/4.185, allocations: 394.9 kB / 3.026 GB, free: 39.53 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.41e-07/4.185, allocations: 0 / 3.026 GB, free: 39.53 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001128/4.186, allocations: 362.9 kB / 3.027 GB, free: 39.17 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 (84): * Single equations (assignments): 81 * 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.005858/4.192, allocations: 2.913 MB / 3.029 GB, free: 36.35 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001109/4.193, allocations: 0.6399 MB / 3.03 GB, free: 35.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/4.193, allocations: 0 / 3.03 GB, free: 35.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006014/4.194, allocations: 452.6 kB / 3.031 GB, free: 35.25 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/4.195, allocations: 207.1 kB / 3.031 GB, free: 35.05 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003754/4.199, allocations: 1.542 MB / 3.032 GB, free: 33.46 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/4.199, allocations: 1.039 MB / 3.033 GB, free: 32.39 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008348/4.2, allocations: 265.6 kB / 3.033 GB, free: 32.13 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005078/4.201, allocations: 375.3 kB / 3.034 GB, free: 31.77 MB / 1.151 GB Notification: Performance of SimCode: time 1.032e-06/4.201, allocations: 0 / 3.034 GB, free: 31.77 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0852/4.286, allocations: 23.44 MB / 3.057 GB, free: 8.461 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/4.286, allocations: 206.2 kB / 3.057 GB, free: 8.176 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.8/7.086, allocations: 0 / 3.057 GB, free: 8.176 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat does not exist to compare? outputFormat=mat