Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.07/2.07, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001051/0.001051, allocations: 188.8 kB / 487.4 MB, free: 5.059 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.584/1.584, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 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.0009459/0.0009458, allocations: 102.1 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.62e-05/2.614e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3128, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.873/5.186, allocations: 1.732 GB / 2.938 GB, free: 125.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/5.186, allocations: 96.5 kB / 2.938 GB, free: 125.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1507/5.337, allocations: 68.9 MB / 3.006 GB, free: 62.08 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.895e-06/5.337, allocations: 0 / 3.006 GB, free: 62.08 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.07e-05/5.337, allocations: 24 kB / 3.006 GB, free: 62.06 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.002062/5.339, allocations: 1.259 MB / 3.007 GB, free: 60.74 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/5.339, allocations: 16.03 kB / 3.007 GB, free: 60.73 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004053/5.343, allocations: 0.6891 MB / 3.008 GB, free: 60.04 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/5.344, allocations: 0.6736 MB / 3.008 GB, free: 59.32 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/5.344, allocations: 32 kB / 3.008 GB, free: 59.29 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/5.345, allocations: 60 kB / 3.008 GB, free: 59.23 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001887/5.347, allocations: 1.421 MB / 3.01 GB, free: 57.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/5.348, allocations: 1.024 MB / 3.011 GB, free: 56.72 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/5.348, allocations: 0 / 3.011 GB, free: 56.72 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.751e-05/5.348, allocations: 7.984 kB / 3.011 GB, free: 56.71 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/5.348, allocations: 28 kB / 3.011 GB, free: 56.68 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004801/5.353, allocations: 2.948 MB / 3.014 GB, free: 53.68 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/5.354, allocations: 1.001 MB / 3.015 GB, free: 52.64 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000473/5.355, allocations: 419.1 kB / 3.015 GB, free: 52.23 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005564/5.355, allocations: 486.4 kB / 3.015 GB, free: 51.66 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007653/5.356, allocations: 0.5844 MB / 3.016 GB, free: 51.06 MB / 1.151 GB Notification: Performance of pre-optimization done (n=100): time 3.466e-06/5.356, allocations: 4 kB / 3.016 GB, free: 51.05 MB / 1.151 GB Notification: Performance of matching and sorting (n=100): time 0.004429/5.36, allocations: 1.465 MB / 3.017 GB, free: 49.58 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/5.361, allocations: 252.6 kB / 3.018 GB, free: 49.27 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005987/5.361, allocations: 0.4983 MB / 3.018 GB, free: 48.77 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.628e-05/5.361, allocations: 25.7 kB / 3.018 GB, free: 48.74 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/5.362, allocations: 424.3 kB / 3.019 GB, free: 48.32 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/5.362, allocations: 315.2 kB / 3.019 GB, free: 48 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/5.362, allocations: 0 / 3.019 GB, free: 48 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001005/5.362, allocations: 386.8 kB / 3.019 GB, free: 47.62 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/5.362, allocations: 310.6 kB / 3.02 GB, free: 47.32 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004682/5.363, allocations: 437.2 kB / 3.02 GB, free: 46.86 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/5.366, allocations: 0.8884 MB / 3.021 GB, free: 45.97 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/5.366, allocations: 0 / 3.021 GB, free: 45.97 MB / 1.151 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004407/5.37, allocations: 1.469 MB / 3.022 GB, free: 44.49 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/5.37, allocations: 6.031 kB / 3.022 GB, free: 44.49 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/5.37, allocations: 4 kB / 3.022 GB, free: 44.48 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005599/5.371, allocations: 84.86 kB / 3.022 GB, free: 44.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/5.372, allocations: 247.6 kB / 3.023 GB, free: 44.16 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/5.374, allocations: 1.458 MB / 3.024 GB, free: 42.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/5.375, allocations: 127.3 kB / 3.024 GB, free: 42.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.449e-05/5.375, allocations: 35.97 kB / 3.024 GB, free: 42.41 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (103): * Single equations (assignments): 102 * 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.0002138/5.375, allocations: 120.9 kB / 3.024 GB, free: 42.29 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004419/5.38, allocations: 1.473 MB / 3.026 GB, free: 40.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/5.38, allocations: 83.05 kB / 3.026 GB, free: 40.72 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004901/5.385, allocations: 1.795 MB / 3.028 GB, free: 38.91 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/5.385, allocations: 19.95 kB / 3.028 GB, free: 38.89 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/5.385, allocations: 0 / 3.028 GB, free: 38.89 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/5.385, allocations: 7.969 kB / 3.028 GB, free: 38.89 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005791/5.391, allocations: 2.812 MB / 3.03 GB, free: 36.03 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/5.391, allocations: 0 / 3.03 GB, free: 36.03 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/5.392, allocations: 259.6 kB / 3.031 GB, free: 35.78 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000461/5.392, allocations: 76.78 kB / 3.031 GB, free: 35.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.062e-05/5.392, allocations: 27.97 kB / 3.031 GB, free: 35.67 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/5.394, allocations: 1.481 MB / 3.032 GB, free: 34.07 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/5.394, allocations: 0 / 3.032 GB, free: 34.07 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00441/5.398, allocations: 1.653 MB / 3.034 GB, free: 32.39 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004209/5.399, allocations: 331.4 kB / 3.034 GB, free: 32.05 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/5.399, allocations: 4 kB / 3.034 GB, free: 32.05 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/5.4, allocations: 111.9 kB / 3.034 GB, free: 31.94 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/5.4, allocations: 73.2 kB / 3.034 GB, free: 31.87 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-05/5.4, allocations: 39.97 kB / 3.034 GB, free: 31.83 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004591/5.401, allocations: 406.8 kB / 3.035 GB, free: 31.43 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.91e-07/5.401, allocations: 0 / 3.035 GB, free: 31.43 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001252/5.402, allocations: 402.9 kB / 3.035 GB, free: 31.04 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 (113): * Single equations (assignments): 110 * 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.006262/5.408, allocations: 3.223 MB / 3.038 GB, free: 27.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001558/5.41, allocations: 0.9723 MB / 3.039 GB, free: 26.92 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/5.41, allocations: 0 / 3.039 GB, free: 26.92 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007808/5.41, allocations: 0.6276 MB / 3.04 GB, free: 26.29 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/5.412, allocations: 212.3 kB / 3.04 GB, free: 26.08 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/5.416, allocations: 1.775 MB / 3.042 GB, free: 24.27 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/5.416, allocations: 1.075 MB / 3.043 GB, free: 23.17 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001398/5.418, allocations: 330.6 kB / 3.043 GB, free: 22.84 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006176/5.418, allocations: 415.2 kB / 3.043 GB, free: 22.43 MB / 1.151 GB Notification: Performance of SimCode: time 1.673e-06/5.418, allocations: 0 / 3.043 GB, free: 22.43 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7933/6.212, allocations: 26.49 MB / 3.069 GB, free: 391 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002613/6.212, allocations: 226 kB / 3.07 GB, free: 390.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.038/9.25, allocations: 2.938 kB / 3.07 GB, free: 390.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat does not exist to compare? outputFormat=mat