Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 98.53 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002181/0.002181, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.239/2.239, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.071/4.071, allocations: 409.2 MB / 0.6838 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005931/0.0005932, allocations: 12 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312/1.313, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007348/1.32, allocations: 3.981 MB / 0.9847 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2352/1.555, allocations: 127.7 MB / 1.109 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/1.557, allocations: 23.88 kB / 1.109 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007789/1.558, allocations: 83.25 kB / 1.11 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003065/1.561, allocations: 0.5092 MB / 1.11 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003143/1.564, allocations: 0.6465 MB / 1.111 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002868/1.567, allocations: 0.8955 MB / 1.112 GB, free: 144 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/1.569, allocations: 0.6904 MB / 1.112 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/1.57, allocations: 386.2 kB / 1.113 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008445/1.571, allocations: 401.7 kB / 1.113 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/1.571, allocations: 28 kB / 1.113 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/1.572, allocations: 307.6 kB / 1.113 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003387/1.573, allocations: 207 kB / 1.113 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003849/1.573, allocations: 233 kB / 1.114 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002754/1.576, allocations: 1.418 MB / 1.115 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.576, allocations: 0 / 1.115 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of FrontEnd: time 6.492e-06/1.576, allocations: 0 / 1.115 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.062e-05/1.576, allocations: 0 / 1.115 GB, free: 12.46 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.0046/1.58, allocations: 1.44 MB / 1.116 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/1.581, allocations: 12.03 kB / 1.116 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004524/1.581, allocations: 185.6 kB / 1.117 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/1.583, allocations: 222.1 kB / 1.117 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/1.585, allocations: 0.8247 MB / 1.118 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/1.585, allocations: 86.41 kB / 1.118 GB, free: 9.598 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002374/1.585, allocations: 116 kB / 1.118 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00311/1.588, allocations: 1.186 MB / 1.119 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/1.588, allocations: 0 / 1.119 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/1.588, allocations: 48 kB / 1.119 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-05/1.588, allocations: 32 kB / 1.119 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003267/1.592, allocations: 1.285 MB / 1.12 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007908/1.6, allocations: 3.192 MB / 1.123 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002382/1.602, allocations: 0.8641 MB / 1.124 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/1.602, allocations: 32.61 kB / 1.124 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001337/1.604, allocations: 0.5192 MB / 1.125 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=87): time 6.733e-06/1.604, allocations: 4.109 kB / 1.125 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.004855/1.608, allocations: 1.296 MB / 1.126 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/1.609, allocations: 188.9 kB / 1.126 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/1.61, allocations: 0.7275 MB / 1.127 GB, free: 15.88 MB / 0.8888 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/1.61, allocations: 41.7 kB / 1.127 GB, free: 15.83 MB / 0.8888 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006608/1.611, allocations: 0.5154 MB / 1.128 GB, free: 15.3 MB / 0.8888 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003662/1.611, allocations: 287.8 kB / 1.128 GB, free: 15.02 MB / 0.8888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/1.611, allocations: 12 kB / 1.128 GB, free: 15.01 MB / 0.8888 GB Notification: Performance of setup shared object (initialization): time 0.0001829/1.612, allocations: 345.9 kB / 1.128 GB, free: 14.66 MB / 0.8888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008152/1.613, allocations: 269.9 kB / 1.128 GB, free: 14.4 MB / 0.8888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009232/1.613, allocations: 382.5 kB / 1.129 GB, free: 14 MB / 0.8888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008762/1.614, allocations: 314.9 kB / 1.129 GB, free: 13.7 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/1.614, allocations: 4 kB / 1.129 GB, free: 13.69 MB / 0.8888 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003008/1.617, allocations: 0.8721 MB / 1.13 GB, free: 12.8 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/1.617, allocations: 4 kB / 1.13 GB, free: 12.8 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.617, allocations: 0 / 1.13 GB, free: 12.8 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008246/1.618, allocations: 84.88 kB / 1.13 GB, free: 12.71 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/1.619, allocations: 171.8 kB / 1.13 GB, free: 12.55 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002877/1.622, allocations: 1.533 MB / 1.132 GB, free: 10.88 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.624, allocations: 119.1 kB / 1.132 GB, free: 10.76 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/1.624, allocations: 31.98 kB / 1.132 GB, free: 10.73 MB / 0.8888 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0009312/1.625, allocations: 282 kB / 1.132 GB, free: 10.45 MB / 0.8888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003335/1.625, allocations: 98.86 kB / 1.132 GB, free: 10.35 MB / 0.8888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003913/1.629, allocations: 1.141 MB / 1.133 GB, free: 9.191 MB / 0.8888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/1.629, allocations: 12 kB / 1.133 GB, free: 9.18 MB / 0.8888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.629, allocations: 0 / 1.133 GB, free: 9.18 MB / 0.8888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/1.629, allocations: 7.984 kB / 1.133 GB, free: 9.172 MB / 0.8888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/1.631, allocations: 1.059 MB / 1.134 GB, free: 8.062 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/1.631, allocations: 3.984 kB / 1.134 GB, free: 8.059 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009332/1.632, allocations: 155.8 kB / 1.135 GB, free: 7.906 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006994/1.633, allocations: 84.72 kB / 1.135 GB, free: 7.82 MB / 0.8888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.943e-05/1.633, allocations: 27.97 kB / 1.135 GB, free: 7.793 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002841/1.636, allocations: 1.56 MB / 1.136 GB, free: 6.09 MB / 0.8888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.636, allocations: 3.938 kB / 1.136 GB, free: 6.086 MB / 0.8888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003364/1.639, allocations: 0.9901 MB / 1.137 GB, free: 5.074 MB / 0.8888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008382/1.64, allocations: 299.5 kB / 1.137 GB, free: 4.762 MB / 0.8888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/1.641, allocations: 24 kB / 1.137 GB, free: 4.738 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009267/1.641, allocations: 79.92 kB / 1.138 GB, free: 4.66 MB / 0.8888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/1.642, allocations: 72.89 kB / 1.138 GB, free: 4.59 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/1.642, allocations: 43.97 kB / 1.138 GB, free: 4.547 MB / 0.8888 GB Notification: Performance of sorting global known variables: time 0.001056/1.643, allocations: 0.5068 MB / 1.138 GB, free: 4.047 MB / 0.8888 GB Notification: Performance of sort global known variables: time 1.7e-07/1.643, allocations: 0 / 1.138 GB, free: 4.047 MB / 0.8888 GB Notification: Performance of remove unused functions: time 0.001509/1.644, allocations: 358.8 kB / 1.138 GB, free: 3.695 MB / 0.8888 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00544/1.65, allocations: 2.033 MB / 1.14 GB, free: 1.812 MB / 0.8888 GB Notification: Performance of simCode: created initialization part: time 0.00254/1.652, allocations: 0.8548 MB / 1.141 GB, free: 0.9453 MB / 0.8888 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.652, allocations: 0 / 1.141 GB, free: 0.9453 MB / 0.8888 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/1.654, allocations: 0.5393 MB / 1.142 GB, free: 404 kB / 0.8888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/1.656, allocations: 253.6 kB / 1.142 GB, free: 156 kB / 0.8888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/1.674, allocations: 6.372 MB / 1.148 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/1.675, allocations: 1.137 MB / 1.149 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001682/1.677, allocations: 275.4 kB / 1.15 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/1.678, allocations: 483.2 kB / 1.15 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of SimCode: time 9.12e-07/1.678, allocations: 0 / 1.15 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.055/1.733, allocations: 23.16 MB / 1.173 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004666/1.734, allocations: 290.7 kB / 1.173 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.104/5.837, allocations: 0 / 1.173 GB, free: 0.5703 MB / 0.92 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat does not exist to compare? outputFormat=mat