Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_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.217/2.217, 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.0009261/0.0009261, allocations: 176.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.279/1.279, allocations: 221.5 MB / 0.7824 GB, free: 0.9062 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.0008912/0.0008912, allocations: 103.7 kB / 0.9219 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.474e-05/1.476e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2153, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.842/4.057, allocations: 1.731 GB / 2.937 GB, free: 152.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001816/4.058, allocations: 93.02 kB / 2.937 GB, free: 152.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1497/4.207, allocations: 79.64 MB / 3.015 GB, free: 72.43 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.733e-06/4.207, allocations: 0 / 3.015 GB, free: 72.43 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.295e-05/4.207, allocations: 35.98 kB / 3.015 GB, free: 72.4 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.001574/4.209, allocations: 1.27 MB / 3.016 GB, free: 71.07 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/4.209, allocations: 20.44 kB / 3.016 GB, free: 71.05 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007529/4.21, allocations: 226.1 kB / 3.016 GB, free: 70.83 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000781/4.21, allocations: 0.6978 MB / 3.017 GB, free: 70.09 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/4.211, allocations: 40 kB / 3.017 GB, free: 70.05 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-05/4.211, allocations: 67.94 kB / 3.017 GB, free: 69.98 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001245/4.212, allocations: 1.125 MB / 3.018 GB, free: 68.86 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/4.213, allocations: 0.9302 MB / 3.019 GB, free: 67.86 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/4.213, allocations: 0 / 3.019 GB, free: 67.86 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.79e-05/4.213, allocations: 12 kB / 3.019 GB, free: 67.85 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/4.213, allocations: 28 kB / 3.019 GB, free: 67.82 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003166/4.216, allocations: 2.848 MB / 3.022 GB, free: 64.92 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007578/4.217, allocations: 0.6851 MB / 3.023 GB, free: 64.22 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/4.217, allocations: 255.2 kB / 3.023 GB, free: 63.96 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.475e-05/4.218, allocations: 36.8 kB / 3.023 GB, free: 63.93 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004614/4.218, allocations: 411.6 kB / 3.023 GB, free: 63.51 MB / 1.151 GB Notification: Performance of pre-optimization done (n=78): time 1.703e-06/4.218, allocations: 0 / 3.023 GB, free: 63.51 MB / 1.151 GB Notification: Performance of matching and sorting (n=78): time 0.001243/4.219, allocations: 0.6807 MB / 3.024 GB, free: 62.82 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/4.219, allocations: 248.1 kB / 3.024 GB, free: 62.52 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/4.22, allocations: 0.5504 MB / 3.025 GB, free: 61.96 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/4.22, allocations: 25.7 kB / 3.025 GB, free: 61.93 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/4.22, allocations: 0.5033 MB / 3.025 GB, free: 61.42 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/4.22, allocations: 248.3 kB / 3.025 GB, free: 61.17 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/4.22, allocations: 0 / 3.025 GB, free: 61.17 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.619e-05/4.22, allocations: 378.9 kB / 3.026 GB, free: 60.79 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/4.221, allocations: 213.5 kB / 3.026 GB, free: 60.59 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/4.221, allocations: 307.5 kB / 3.026 GB, free: 60.25 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/4.221, allocations: 256.4 kB / 3.027 GB, free: 60.01 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/4.221, allocations: 0 / 3.027 GB, free: 60.01 MB / 1.151 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001166/4.222, allocations: 0.6992 MB / 3.027 GB, free: 59.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/4.222, allocations: 5.719 kB / 3.027 GB, free: 59.29 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/4.222, allocations: 7.938 kB / 3.027 GB, free: 59.29 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005075/4.223, allocations: 80.84 kB / 3.027 GB, free: 59.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/4.223, allocations: 151.8 kB / 3.027 GB, free: 59.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/4.225, allocations: 1.461 MB / 3.029 GB, free: 57.46 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/4.225, allocations: 55.5 kB / 3.029 GB, free: 57.41 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/4.225, allocations: 35.91 kB / 3.029 GB, free: 57.38 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 (83): * Single equations (assignments): 82 * 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.000119/4.225, allocations: 125.8 kB / 3.029 GB, free: 57.25 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001146/4.227, allocations: 0.6874 MB / 3.03 GB, free: 56.55 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.316e-05/4.227, allocations: 79.06 kB / 3.03 GB, free: 56.47 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/4.228, allocations: 0.9315 MB / 3.031 GB, free: 55.52 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/4.228, allocations: 8 kB / 3.031 GB, free: 55.51 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/4.228, allocations: 4 kB / 3.031 GB, free: 55.51 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/4.228, allocations: 7.938 kB / 3.031 GB, free: 55.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006607/4.229, allocations: 0.8414 MB / 3.032 GB, free: 54.62 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/4.229, allocations: 0 / 3.032 GB, free: 54.62 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005206/4.229, allocations: 151.8 kB / 3.032 GB, free: 54.47 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004224/4.23, allocations: 88.81 kB / 3.032 GB, free: 54.38 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/4.23, allocations: 11.98 kB / 3.032 GB, free: 54.37 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/4.231, allocations: 1.469 MB / 3.033 GB, free: 52.78 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/4.231, allocations: 0 / 3.033 GB, free: 52.78 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/4.232, allocations: 0.7971 MB / 3.034 GB, free: 51.96 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/4.233, allocations: 283.8 kB / 3.034 GB, free: 51.67 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.777e-05/4.233, allocations: 7.984 kB / 3.034 GB, free: 51.66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004709/4.233, allocations: 51.91 kB / 3.034 GB, free: 51.61 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/4.233, allocations: 64.69 kB / 3.034 GB, free: 51.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/4.233, allocations: 31.98 kB / 3.034 GB, free: 51.52 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003483/4.234, allocations: 447.1 kB / 3.035 GB, free: 51.09 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/4.234, allocations: 0 / 3.035 GB, free: 51.09 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000771/4.234, allocations: 390.5 kB / 3.035 GB, free: 50.7 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 (89): * Single equations (assignments): 86 * 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.002588/4.237, allocations: 2.315 MB / 3.038 GB, free: 48.48 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008765/4.238, allocations: 0.6824 MB / 3.038 GB, free: 47.78 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/4.238, allocations: 0 / 3.038 GB, free: 47.78 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005367/4.238, allocations: 464.4 kB / 3.039 GB, free: 47.32 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008947/4.239, allocations: 228 kB / 3.039 GB, free: 47.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/4.242, allocations: 1.714 MB / 3.041 GB, free: 45.34 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/4.243, allocations: 1.113 MB / 3.042 GB, free: 44.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006566/4.243, allocations: 258.4 kB / 3.042 GB, free: 43.95 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004555/4.244, allocations: 455.2 kB / 3.042 GB, free: 43.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.9e-07/4.244, allocations: 0 / 3.042 GB, free: 43.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1487/4.393, allocations: 24.61 MB / 3.066 GB, free: 19.04 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001337/4.393, allocations: 199.4 kB / 3.067 GB, free: 18.77 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.79/8.183, allocations: 7.875 kB / 3.067 GB, free: 18.76 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat does not exist to compare? outputFormat=mat