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.1 MB / 399.7 MB, free: 9.508 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.001016/0.001016, allocations: 179.8 kB / 492.3 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.052/2.052, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0008789/0.0008789, allocations: 98.72 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.512e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.33, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.849/5.179, allocations: 1.731 GB / 2.944 GB, free: 107.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/5.18, allocations: 94.69 kB / 2.944 GB, free: 107.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1516/5.331, allocations: 68.07 MB / 3.01 GB, free: 44.83 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.064e-06/5.331, allocations: 0 / 3.01 GB, free: 44.83 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001142/5.331, allocations: 35.92 kB / 3.01 GB, free: 44.8 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.002641/5.334, allocations: 1.118 MB / 3.012 GB, free: 43.62 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/5.334, allocations: 12.03 kB / 3.012 GB, free: 43.61 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003164/5.334, allocations: 143.6 kB / 3.012 GB, free: 43.46 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/5.336, allocations: 210.5 kB / 3.012 GB, free: 43.26 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/5.337, allocations: 0.6308 MB / 3.013 GB, free: 42.58 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/5.337, allocations: 66 kB / 3.013 GB, free: 42.52 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/5.337, allocations: 91.98 kB / 3.013 GB, free: 42.43 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/5.339, allocations: 0.9029 MB / 3.014 GB, free: 41.48 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/5.339, allocations: 4 kB / 3.014 GB, free: 41.48 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.805e-05/5.339, allocations: 40 kB / 3.014 GB, free: 41.44 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/5.339, allocations: 27.95 kB / 3.014 GB, free: 41.41 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/5.341, allocations: 1.073 MB / 3.015 GB, free: 40.34 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004083/5.345, allocations: 2.598 MB / 3.017 GB, free: 37.67 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/5.346, allocations: 0.7809 MB / 3.018 GB, free: 36.86 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/5.346, allocations: 263.2 kB / 3.018 GB, free: 36.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005836/5.347, allocations: 470.3 kB / 3.019 GB, free: 36.05 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006187/5.348, allocations: 417.3 kB / 3.019 GB, free: 35.62 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 3.877e-06/5.348, allocations: 0 / 3.019 GB, free: 35.62 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001632/5.349, allocations: 0.6914 MB / 3.02 GB, free: 34.92 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/5.349, allocations: 244.1 kB / 3.02 GB, free: 34.62 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008453/5.35, allocations: 0.5933 MB / 3.021 GB, free: 34.02 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.461e-05/5.35, allocations: 41.7 kB / 3.021 GB, free: 33.98 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/5.351, allocations: 404.2 kB / 3.021 GB, free: 33.57 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/5.351, allocations: 240.5 kB / 3.021 GB, free: 33.34 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/5.351, allocations: 12 kB / 3.021 GB, free: 33.32 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.91e-05/5.351, allocations: 382.8 kB / 3.022 GB, free: 32.94 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/5.351, allocations: 201.5 kB / 3.022 GB, free: 32.74 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/5.352, allocations: 313.1 kB / 3.022 GB, free: 32.41 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/5.352, allocations: 246 kB / 3.022 GB, free: 32.17 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/5.352, allocations: 3.953 kB / 3.022 GB, free: 32.16 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001465/5.353, allocations: 0.6954 MB / 3.023 GB, free: 31.46 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/5.353, allocations: 4 kB / 3.023 GB, free: 31.46 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/5.353, allocations: 4 kB / 3.023 GB, free: 31.45 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000584/5.354, allocations: 84.84 kB / 3.023 GB, free: 31.37 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/5.355, allocations: 139.8 kB / 3.023 GB, free: 31.23 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/5.356, allocations: 1.513 MB / 3.025 GB, free: 29.58 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007269/5.357, allocations: 83.48 kB / 3.025 GB, free: 29.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-05/5.357, allocations: 35.94 kB / 3.025 GB, free: 29.46 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.0001856/5.357, allocations: 140.9 kB / 3.025 GB, free: 29.32 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/5.358, allocations: 75.06 kB / 3.025 GB, free: 29.24 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/5.36, allocations: 0.9616 MB / 3.026 GB, free: 28.26 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/5.36, allocations: 15.95 kB / 3.026 GB, free: 28.25 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/5.36, allocations: 3.938 kB / 3.026 GB, free: 28.24 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/5.36, allocations: 7.969 kB / 3.026 GB, free: 28.23 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/5.363, allocations: 1.885 MB / 3.028 GB, free: 26.29 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/5.363, allocations: 0 / 3.028 GB, free: 26.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005753/5.364, allocations: 151.8 kB / 3.028 GB, free: 26.14 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004962/5.364, allocations: 84.78 kB / 3.028 GB, free: 26.05 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.784e-05/5.364, allocations: 19.97 kB / 3.028 GB, free: 26.04 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/5.366, allocations: 1.536 MB / 3.03 GB, free: 24.36 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/5.366, allocations: 0 / 3.03 GB, free: 24.36 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/5.367, allocations: 0.8767 MB / 3.03 GB, free: 23.46 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005142/5.368, allocations: 283.8 kB / 3.031 GB, free: 23.16 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/5.368, allocations: 20 kB / 3.031 GB, free: 23.14 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006572/5.369, allocations: 67.91 kB / 3.031 GB, free: 23.08 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/5.369, allocations: 64.69 kB / 3.031 GB, free: 23.01 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-05/5.369, allocations: 27.98 kB / 3.031 GB, free: 22.98 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006377/5.37, allocations: 491.1 kB / 3.031 GB, free: 22.51 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/5.37, allocations: 0 / 3.031 GB, free: 22.51 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001364/5.371, allocations: 394.9 kB / 3.032 GB, free: 22.12 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.003897/5.375, allocations: 2.368 MB / 3.034 GB, free: 19.89 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001283/5.376, allocations: 0.6829 MB / 3.035 GB, free: 19.19 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/5.376, allocations: 4 kB / 3.035 GB, free: 19.19 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007095/5.377, allocations: 470.9 kB / 3.035 GB, free: 18.72 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/5.378, allocations: 240 kB / 3.035 GB, free: 18.49 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/5.382, allocations: 1.605 MB / 3.037 GB, free: 16.84 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/5.383, allocations: 1.039 MB / 3.038 GB, free: 15.77 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009142/5.384, allocations: 262.2 kB / 3.038 GB, free: 15.51 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005218/5.384, allocations: 375.3 kB / 3.039 GB, free: 15.14 MB / 1.151 GB Notification: Performance of SimCode: time 9.52e-07/5.384, allocations: 0 / 3.039 GB, free: 15.14 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7184/6.103, allocations: 31.43 MB / 3.069 GB, free: 383.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/6.103, allocations: 253.8 kB / 3.07 GB, free: 383.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.209/9.312, allocations: 0 / 3.07 GB, free: 383.6 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