Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.787/2.787, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001227/0.001227, allocations: 180.9 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.604/1.604, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.001057/0.001057, allocations: 94 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.507e-05/3.513e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3282, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.392/4.72, allocations: 1.731 GB / 2.943 GB, free: 134.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/4.72, allocations: 99.88 kB / 2.943 GB, free: 134.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1279/4.848, allocations: 58.77 MB / 3.001 GB, free: 75.09 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.322e-06/4.848, allocations: 0 / 3.001 GB, free: 75.09 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.377e-05/4.848, allocations: 20 kB / 3.001 GB, free: 75.07 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002087/4.85, allocations: 1.071 MB / 3.002 GB, free: 73.95 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/4.851, allocations: 8.031 kB / 3.002 GB, free: 73.95 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002349/4.851, allocations: 130.9 kB / 3.002 GB, free: 73.81 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000979/4.852, allocations: 182.6 kB / 3.002 GB, free: 73.63 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/4.853, allocations: 0.5997 MB / 3.003 GB, free: 72.98 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/4.853, allocations: 66 kB / 3.003 GB, free: 72.92 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/4.853, allocations: 76 kB / 3.003 GB, free: 72.84 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/4.854, allocations: 0.8092 MB / 3.004 GB, free: 72 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/4.854, allocations: 7.922 kB / 3.004 GB, free: 71.99 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.94e-05/4.854, allocations: 39.95 kB / 3.004 GB, free: 71.95 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/4.855, allocations: 20 kB / 3.004 GB, free: 71.93 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/4.856, allocations: 1.011 MB / 3.005 GB, free: 70.92 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003285/4.859, allocations: 2.375 MB / 3.007 GB, free: 68.48 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009191/4.86, allocations: 0.6844 MB / 3.008 GB, free: 67.77 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/4.86, allocations: 254.4 kB / 3.008 GB, free: 67.52 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.189e-05/4.86, allocations: 20.69 kB / 3.008 GB, free: 67.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005517/4.861, allocations: 413.1 kB / 3.008 GB, free: 67.09 MB / 1.151 GB Notification: Performance of pre-optimization done (n=71): time 3.646e-06/4.861, allocations: 7.938 kB / 3.008 GB, free: 67.08 MB / 1.151 GB Notification: Performance of matching and sorting (n=71): time 0.001595/4.863, allocations: 0.668 MB / 3.009 GB, free: 66.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/4.863, allocations: 248.1 kB / 3.009 GB, free: 66.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006969/4.863, allocations: 0.5854 MB / 3.01 GB, free: 65.51 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.175e-05/4.864, allocations: 37.7 kB / 3.01 GB, free: 65.46 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/4.864, allocations: 368.3 kB / 3.01 GB, free: 65.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/4.864, allocations: 232.6 kB / 3.011 GB, free: 64.87 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/4.864, allocations: 16 kB / 3.011 GB, free: 64.85 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.262e-05/4.864, allocations: 374.8 kB / 3.011 GB, free: 64.48 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/4.864, allocations: 193.5 kB / 3.011 GB, free: 64.29 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/4.865, allocations: 305.1 kB / 3.011 GB, free: 63.96 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/4.865, allocations: 242 kB / 3.012 GB, free: 63.72 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/4.865, allocations: 0 / 3.012 GB, free: 63.72 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001388/4.866, allocations: 0.6836 MB / 3.012 GB, free: 63.03 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/4.867, allocations: 8 kB / 3.012 GB, free: 63.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/4.867, allocations: 3.984 kB / 3.012 GB, free: 63.02 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005706/4.867, allocations: 80.84 kB / 3.012 GB, free: 62.93 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005447/4.868, allocations: 143.8 kB / 3.012 GB, free: 62.79 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/4.869, allocations: 1.504 MB / 3.014 GB, free: 61.14 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000613/4.87, allocations: 87.53 kB / 3.014 GB, free: 61.06 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/4.87, allocations: 23.98 kB / 3.014 GB, free: 61.04 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 (74): * Single equations (assignments): 73 * 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.0001802/4.87, allocations: 150.1 kB / 3.014 GB, free: 60.88 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/4.87, allocations: 75.06 kB / 3.014 GB, free: 60.81 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/4.872, allocations: 0.9342 MB / 3.015 GB, free: 59.86 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/4.872, allocations: 12 kB / 3.015 GB, free: 59.84 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/4.872, allocations: 3.984 kB / 3.015 GB, free: 59.84 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/4.872, allocations: 3.984 kB / 3.015 GB, free: 59.84 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008781/4.873, allocations: 0.8448 MB / 3.016 GB, free: 58.94 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/4.873, allocations: 0 / 3.016 GB, free: 58.94 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/4.874, allocations: 147.8 kB / 3.016 GB, free: 58.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/4.874, allocations: 84.7 kB / 3.016 GB, free: 58.71 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.626e-05/4.874, allocations: 20 kB / 3.016 GB, free: 58.69 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/4.876, allocations: 1.544 MB / 3.018 GB, free: 57.01 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/4.876, allocations: 0 / 3.018 GB, free: 57.01 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/4.877, allocations: 0.7856 MB / 3.019 GB, free: 56.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/4.877, allocations: 279.7 kB / 3.019 GB, free: 55.91 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/4.878, allocations: 19.95 kB / 3.019 GB, free: 55.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005322/4.878, allocations: 67.95 kB / 3.019 GB, free: 55.82 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/4.878, allocations: 56.69 kB / 3.019 GB, free: 55.77 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/4.878, allocations: 32.05 kB / 3.019 GB, free: 55.73 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005184/4.879, allocations: 479.1 kB / 3.019 GB, free: 55.27 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.41e-07/4.879, allocations: 0 / 3.019 GB, free: 55.27 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009637/4.88, allocations: 347.2 kB / 3.02 GB, free: 54.93 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.003294/4.883, allocations: 2.264 MB / 3.022 GB, free: 52.79 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001066/4.884, allocations: 0.6668 MB / 3.023 GB, free: 52.11 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/4.884, allocations: 0 / 3.023 GB, free: 52.11 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006185/4.885, allocations: 463.1 kB / 3.023 GB, free: 51.64 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009606/4.886, allocations: 232.7 kB / 3.023 GB, free: 51.42 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/4.889, allocations: 1.517 MB / 3.025 GB, free: 49.86 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/4.89, allocations: 1.012 MB / 3.026 GB, free: 48.83 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007486/4.89, allocations: 261.9 kB / 3.026 GB, free: 48.57 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004386/4.891, allocations: 339.3 kB / 3.026 GB, free: 48.24 MB / 1.151 GB Notification: Performance of SimCode: time 5.81e-07/4.891, allocations: 4 kB / 3.026 GB, free: 48.23 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05142/4.942, allocations: 30.66 MB / 3.056 GB, free: 17.92 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/4.943, allocations: 259.2 kB / 3.057 GB, free: 17.59 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.133/8.076, allocations: 0 / 3.057 GB, free: 17.59 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat does not exist to compare? outputFormat=mat