Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.278/2.278, allocations: 390.5 MB / 398 MB, free: 10.94 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.001633/0.001632, allocations: 180.8 kB / 491.2 MB, free: 1.547 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.703/1.703, allocations: 221.5 MB / 0.7868 GB, free: 13.35 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.0008996/0.0008995, allocations: 99.84 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.492e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2608, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.095/5.356, allocations: 1.731 GB / 2.943 GB, free: 133.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/5.357, allocations: 91.95 kB / 2.943 GB, free: 133 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1294/5.486, allocations: 57.93 MB / 3 GB, free: 74.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.204e-06/5.486, allocations: 4 kB / 3 GB, free: 74.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001166/5.486, allocations: 20 kB / 3 GB, free: 74.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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002649/5.489, allocations: 1.063 MB / 3.001 GB, free: 73.66 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/5.489, allocations: 8.031 kB / 3.001 GB, free: 73.66 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/5.49, allocations: 186.6 kB / 3.001 GB, free: 73.47 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/5.492, allocations: 0.6075 MB / 3.002 GB, free: 72.83 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.52e-05/5.492, allocations: 24 kB / 3.002 GB, free: 72.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/5.492, allocations: 44 kB / 3.002 GB, free: 72.76 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001573/5.493, allocations: 0.9679 MB / 3.003 GB, free: 71.79 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/5.495, allocations: 0.7115 MB / 3.004 GB, free: 71.04 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/5.495, allocations: 3.938 kB / 3.004 GB, free: 71.04 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.533e-05/5.495, allocations: 0 / 3.004 GB, free: 71.04 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/5.495, allocations: 20 kB / 3.004 GB, free: 71.02 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003749/5.499, allocations: 2.239 MB / 3.006 GB, free: 68.72 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008217/5.499, allocations: 0.6273 MB / 3.006 GB, free: 68.08 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/5.5, allocations: 234.5 kB / 3.007 GB, free: 67.85 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.545e-05/5.5, allocations: 32.66 kB / 3.007 GB, free: 67.82 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005385/5.5, allocations: 383.6 kB / 3.007 GB, free: 67.42 MB / 1.151 GB Notification: Performance of pre-optimization done (n=71): time 3.326e-06/5.5, allocations: 0 / 3.007 GB, free: 67.42 MB / 1.151 GB Notification: Performance of matching and sorting (n=71): time 0.001465/5.502, allocations: 0.6368 MB / 3.008 GB, free: 66.78 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/5.502, allocations: 240.1 kB / 3.008 GB, free: 66.49 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006343/5.503, allocations: 0.5021 MB / 3.008 GB, free: 65.98 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/5.503, allocations: 25.7 kB / 3.008 GB, free: 65.95 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/5.503, allocations: 372.2 kB / 3.009 GB, free: 65.58 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/5.503, allocations: 220.7 kB / 3.009 GB, free: 65.36 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/5.503, allocations: 0 / 3.009 GB, free: 65.36 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001124/5.503, allocations: 378.8 kB / 3.009 GB, free: 64.98 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/5.503, allocations: 193.5 kB / 3.01 GB, free: 64.79 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/5.504, allocations: 283.5 kB / 3.01 GB, free: 64.48 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/5.504, allocations: 232.5 kB / 3.01 GB, free: 64.26 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/5.504, allocations: 0 / 3.01 GB, free: 64.26 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001223/5.505, allocations: 0.6329 MB / 3.011 GB, free: 63.61 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/5.505, allocations: 8.062 kB / 3.011 GB, free: 63.61 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/5.505, allocations: 4 kB / 3.011 GB, free: 63.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005724/5.506, allocations: 84.72 kB / 3.011 GB, free: 63.52 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/5.507, allocations: 135.8 kB / 3.011 GB, free: 63.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/5.508, allocations: 1.449 MB / 3.012 GB, free: 61.81 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/5.509, allocations: 67.67 kB / 3.012 GB, free: 61.74 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/5.509, allocations: 27.98 kB / 3.012 GB, free: 61.71 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.0001782/5.509, allocations: 118.6 kB / 3.012 GB, free: 61.59 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001251/5.51, allocations: 0.6407 MB / 3.013 GB, free: 60.94 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.35e-05/5.51, allocations: 67.16 kB / 3.013 GB, free: 60.88 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/5.512, allocations: 0.8791 MB / 3.014 GB, free: 59.98 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/5.512, allocations: 8 kB / 3.014 GB, free: 59.97 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/5.512, allocations: 0 / 3.014 GB, free: 59.97 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/5.512, allocations: 3.984 kB / 3.014 GB, free: 59.97 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009285/5.513, allocations: 0.7283 MB / 3.015 GB, free: 59.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/5.513, allocations: 0 / 3.015 GB, free: 59.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005076/5.514, allocations: 139.8 kB / 3.015 GB, free: 59.07 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004718/5.514, allocations: 84.77 kB / 3.015 GB, free: 58.98 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/5.514, allocations: 11.98 kB / 3.015 GB, free: 58.97 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/5.516, allocations: 1.492 MB / 3.016 GB, free: 57.36 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/5.516, allocations: 0 / 3.016 GB, free: 57.36 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/5.517, allocations: 0.7388 MB / 3.017 GB, free: 56.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/5.517, allocations: 275.9 kB / 3.017 GB, free: 56.31 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.198e-05/5.517, allocations: 0 / 3.017 GB, free: 56.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/5.518, allocations: 51.95 kB / 3.017 GB, free: 56.26 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/5.518, allocations: 60.69 kB / 3.018 GB, free: 56.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-05/5.518, allocations: 27.98 kB / 3.018 GB, free: 56.17 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00047/5.518, allocations: 398.9 kB / 3.018 GB, free: 55.79 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.2e-07/5.518, allocations: 4 kB / 3.018 GB, free: 55.78 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001241/5.52, allocations: 331 kB / 3.018 GB, free: 55.46 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.003574/5.523, allocations: 2.249 MB / 3.02 GB, free: 53.29 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001139/5.524, allocations: 0.6438 MB / 3.021 GB, free: 52.63 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/5.524, allocations: 0 / 3.021 GB, free: 52.63 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005802/5.525, allocations: 436.5 kB / 3.021 GB, free: 52.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/5.526, allocations: 218.5 kB / 3.022 GB, free: 51.99 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/5.53, allocations: 1.447 MB / 3.023 GB, free: 50.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/5.531, allocations: 1.017 MB / 3.024 GB, free: 49.45 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000823/5.531, allocations: 249.7 kB / 3.024 GB, free: 49.21 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004656/5.532, allocations: 343.3 kB / 3.025 GB, free: 48.87 MB / 1.151 GB Notification: Performance of SimCode: time 1.132e-06/5.532, allocations: 0 / 3.025 GB, free: 48.87 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05266/5.585, allocations: 22.78 MB / 3.047 GB, free: 26.25 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/5.585, allocations: 216.3 kB / 3.047 GB, free: 25.96 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.261/8.845, allocations: 5.719 kB / 3.047 GB, free: 25.96 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat does not exist to compare? outputFormat=mat