Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_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.0007797/0.0007796, allocations: 84.38 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.0008848/0.000885, 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.439/1.439, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.465/2.465, allocations: 390.4 MB / 0.6655 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004127, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7919/0.7923, allocations: 142.3 MB / 0.9538 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005221/0.7976, allocations: 3.741 MB / 0.9575 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1735/0.9712, allocations: 136.8 MB / 1.091 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.9723, allocations: 19.88 kB / 1.091 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000803/0.9731, allocations: 123 kB / 1.091 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002244/0.9754, allocations: 424.9 kB / 1.092 GB, free: 2.715 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.9778, allocations: 0.6288 MB / 1.092 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001928/0.9797, allocations: 1.113 MB / 1.093 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008472/0.9806, allocations: 471.2 kB / 1.094 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007675/0.9813, allocations: 330.5 kB / 1.094 GB, free: 180 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005383/0.9819, allocations: 354.2 kB / 1.094 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.434e-05/0.982, allocations: 24 kB / 1.094 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009106/0.9829, allocations: 339.6 kB / 1.095 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.9831, allocations: 183.1 kB / 1.095 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.9833, allocations: 197.1 kB / 1.095 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.9845, allocations: 1.146 MB / 1.096 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.9845, allocations: 0 / 1.096 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.455e-06/0.9845, allocations: 0 / 1.096 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.9845, allocations: 0 / 1.096 GB, free: 13.95 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.00257/0.9871, allocations: 1.22 MB / 1.097 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.7e-05/0.9872, allocations: 12.03 kB / 1.097 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002329/0.9874, allocations: 131.2 kB / 1.098 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009368/0.9884, allocations: 198.5 kB / 1.098 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.9896, allocations: 0.7108 MB / 1.098 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.45e-05/0.9897, allocations: 70 kB / 1.099 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.9898, allocations: 76 kB / 1.099 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.9914, allocations: 0.9106 MB / 1.099 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.9915, allocations: 3.953 kB / 1.099 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.253e-05/0.9916, allocations: 40 kB / 1.1 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.9916, allocations: 20 kB / 1.1 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.9934, allocations: 1.1 MB / 1.101 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004153/0.9975, allocations: 2.517 MB / 1.103 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.999, allocations: 0.8018 MB / 1.104 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004991/0.9995, allocations: 298.7 kB / 1.104 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.653e-05/0.9996, allocations: 32.69 kB / 1.104 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008785/1, allocations: 495.1 kB / 1.105 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=80): time 4.429e-06/1.001, allocations: 0 / 1.105 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=80): time 0.002924/1.003, allocations: 1.198 MB / 1.106 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.849e-05/1.004, allocations: 192.6 kB / 1.106 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007615/1.004, allocations: 0.6215 MB / 1.107 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/1.004, allocations: 41.7 kB / 1.107 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/1.005, allocations: 400.3 kB / 1.107 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/1.005, allocations: 256.3 kB / 1.107 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/1.005, allocations: 16 kB / 1.107 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.005, allocations: 394.7 kB / 1.108 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004549/1.006, allocations: 241.9 kB / 1.108 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/1.006, allocations: 358.5 kB / 1.108 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/1.007, allocations: 290.9 kB / 1.108 GB, free: 1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.007, allocations: 0 / 1.108 GB, free: 1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001656/1.008, allocations: 0.8058 MB / 1.109 GB, free: 188 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/1.008, allocations: 4 kB / 1.109 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.008, allocations: 3.984 kB / 1.109 GB, free: 180 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005399/1.009, allocations: 84.84 kB / 1.109 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/1.01, allocations: 151.9 kB / 1.11 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/1.011, allocations: 1.516 MB / 1.111 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006402/1.012, allocations: 99.42 kB / 1.111 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.857e-05/1.012, allocations: 31.97 kB / 1.111 GB, free: 14.15 MB / 0.8731 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 (87): * Single equations (assignments): 86 * 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.0004317/1.013, allocations: 261.6 kB / 1.111 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/1.013, allocations: 86.97 kB / 1.111 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/1.015, allocations: 1.077 MB / 1.113 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/1.015, allocations: 8 kB / 1.113 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/1.015, allocations: 3.938 kB / 1.113 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/1.015, allocations: 3.984 kB / 1.113 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009623/1.016, allocations: 0.8878 MB / 1.113 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.016, allocations: 8 kB / 1.113 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005594/1.017, allocations: 143.8 kB / 1.114 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004614/1.017, allocations: 88.72 kB / 1.114 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.599e-05/1.017, allocations: 23.98 kB / 1.114 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/1.019, allocations: 1.544 MB / 1.115 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.019, allocations: 3.938 kB / 1.115 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/1.021, allocations: 0.9279 MB / 1.116 GB, free: 8.859 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003735/1.021, allocations: 283.7 kB / 1.116 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/1.021, allocations: 19.98 kB / 1.116 GB, free: 8.543 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005679/1.022, allocations: 80.88 kB / 1.116 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/1.022, allocations: 72.89 kB / 1.116 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.781e-05/1.022, allocations: 31.98 kB / 1.117 GB, free: 8.367 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005685/1.023, allocations: 451 kB / 1.117 GB, free: 7.934 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.6e-07/1.023, allocations: 0 / 1.117 GB, free: 7.934 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008583/1.023, allocations: 307.2 kB / 1.117 GB, free: 7.633 MB / 0.8731 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 (91): * Single equations (assignments): 85 * 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.003304/1.027, allocations: 1.979 MB / 1.119 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001591/1.028, allocations: 0.7961 MB / 1.12 GB, free: 4.992 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.028, allocations: 4 kB / 1.12 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008538/1.029, allocations: 0.5044 MB / 1.12 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/1.03, allocations: 275.4 kB / 1.121 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/1.041, allocations: 5.063 MB / 1.126 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006366/1.041, allocations: 1.02 MB / 1.127 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001012/1.042, allocations: 258.6 kB / 1.127 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006464/1.043, allocations: 379.3 kB / 1.127 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of SimCode: time 1.312e-06/1.043, allocations: 0 / 1.127 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04786/1.091, allocations: 21.02 MB / 1.148 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/1.091, allocations: 296.6 kB / 1.148 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/3.652, allocations: 3.375 kB / 1.148 GB, free: 8.441 MB / 0.9044 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat does not exist to compare? outputFormat=mat