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.001116/0.001116, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001227/0.001227, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.347/2.347, allocations: 409.4 MB / 0.684 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003094, allocations: 11.94 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6911/0.6914, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005727/0.6972, allocations: 4.077 MB / 0.9851 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1645/0.8617, allocations: 136.9 MB / 1.119 GB, free: 8.879 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007429/0.8625, allocations: 19.94 kB / 1.119 GB, free: 8.859 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000553/0.8631, allocations: 138.8 kB / 1.119 GB, free: 8.723 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001371/0.8644, allocations: 443.4 kB / 1.119 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.8663, allocations: 0.6417 MB / 1.12 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001373/0.8677, allocations: 1.249 MB / 1.121 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009445/0.8686, allocations: 0.6866 MB / 1.122 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005632/0.8692, allocations: 378.1 kB / 1.122 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004755/0.8697, allocations: 429.5 kB / 1.123 GB, free: 4.898 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.912e-05/0.8698, allocations: 28 kB / 1.123 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007363/0.8705, allocations: 331.7 kB / 1.123 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.8707, allocations: 211 kB / 1.123 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.8709, allocations: 237 kB / 1.123 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.8722, allocations: 1.418 MB / 1.125 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.8723, allocations: 0 / 1.125 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.825e-06/0.8723, allocations: 0 / 1.125 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.8723, allocations: 0 / 1.125 GB, free: 2.68 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.002634/0.8749, allocations: 1.44 MB / 1.126 GB, free: 1.188 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.875, allocations: 8.031 kB / 1.126 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00021/0.8752, allocations: 185.6 kB / 1.126 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000841/0.876, allocations: 222.1 kB / 1.127 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.8772, allocations: 0.8208 MB / 1.127 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.249e-05/0.8773, allocations: 86.41 kB / 1.128 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.8774, allocations: 120 kB / 1.128 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.8793, allocations: 1.194 MB / 1.129 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.8794, allocations: 7.938 kB / 1.129 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.902e-05/0.8795, allocations: 44 kB / 1.129 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.8795, allocations: 32 kB / 1.129 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.8814, allocations: 1.281 MB / 1.13 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004529/0.886, allocations: 3.201 MB / 1.133 GB, free: 9.797 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.8874, allocations: 0.8627 MB / 1.134 GB, free: 8.93 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005175/0.8879, allocations: 334.6 kB / 1.134 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.84e-05/0.888, allocations: 24.62 kB / 1.134 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008377/0.8889, allocations: 0.5198 MB / 1.135 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=87): time 2.505e-06/0.8889, allocations: 0 / 1.135 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of matching and sorting (n=87): time 0.002945/0.8918, allocations: 1.287 MB / 1.136 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.97e-05/0.892, allocations: 188.9 kB / 1.136 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008624/0.8928, allocations: 0.7314 MB / 1.137 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-05/0.8929, allocations: 45.69 kB / 1.137 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003959/0.8933, allocations: 0.5193 MB / 1.138 GB, free: 5.18 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/0.8935, allocations: 283.8 kB / 1.138 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.8936, allocations: 16 kB / 1.138 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.8937, allocations: 334 kB / 1.138 GB, free: 4.551 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/0.8942, allocations: 269.9 kB / 1.138 GB, free: 4.285 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005568/0.8948, allocations: 390.5 kB / 1.139 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005367/0.8953, allocations: 310.9 kB / 1.139 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.8953, allocations: 0 / 1.139 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001746/0.8971, allocations: 0.8721 MB / 1.14 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.8971, allocations: 8 kB / 1.14 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.8971, allocations: 0 / 1.14 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005132/0.8976, allocations: 84.81 kB / 1.14 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.8983, allocations: 167.8 kB / 1.14 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.9002, allocations: 1.521 MB / 1.142 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006389/0.9008, allocations: 116.5 kB / 1.142 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.024e-05/0.9009, allocations: 35.97 kB / 1.142 GB, free: 0.6289 MB / 0.8887 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.0004809/0.9014, allocations: 286.7 kB / 1.142 GB, free: 348 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.9015, allocations: 94.88 kB / 1.142 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.9037, allocations: 1.145 MB / 1.143 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.9038, allocations: 12.11 kB / 1.143 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.9038, allocations: 3.938 kB / 1.143 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.9038, allocations: 7.922 kB / 1.143 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.9049, allocations: 1.059 MB / 1.144 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.905, allocations: 0 / 1.144 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005954/0.9056, allocations: 155.8 kB / 1.145 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004451/0.906, allocations: 84.72 kB / 1.145 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.404e-05/0.9061, allocations: 27.97 kB / 1.145 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.9077, allocations: 1.544 MB / 1.146 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.9077, allocations: 0 / 1.146 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.9095, allocations: 0.9863 MB / 1.147 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/0.91, allocations: 311.5 kB / 1.147 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.9101, allocations: 16 kB / 1.147 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005763/0.9107, allocations: 80.55 kB / 1.148 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.9108, allocations: 80.88 kB / 1.148 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/0.9109, allocations: 31.98 kB / 1.148 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006624/0.9115, allocations: 0.5107 MB / 1.148 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9116, allocations: 0 / 1.148 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000934/0.9125, allocations: 366.7 kB / 1.149 GB, free: 9.602 MB / 0.9044 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.003334/0.9158, allocations: 2.027 MB / 1.15 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.9175, allocations: 0.8548 MB / 1.151 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.9175, allocations: 4 kB / 1.151 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009124/0.9184, allocations: 0.5393 MB / 1.152 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.9196, allocations: 275.3 kB / 1.152 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.9303, allocations: 5.969 MB / 1.158 GB, free: 15.89 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006546/0.931, allocations: 1.114 MB / 1.159 GB, free: 14.75 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009294/0.9319, allocations: 283.4 kB / 1.159 GB, free: 14.47 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006164/0.9325, allocations: 479.2 kB / 1.16 GB, free: 14 MB / 0.92 GB Notification: Performance of SimCode: time 9.01e-07/0.9325, allocations: 0 / 1.16 GB, free: 14 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06783/1, allocations: 23.19 MB / 1.182 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/1.001, allocations: 284.3 kB / 1.183 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/3.583, allocations: 0 / 1.183 GB, free: 6.875 MB / 0.9356 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