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.0009478/0.0009478, allocations: 99.86 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.0009853/0.0009853, 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 1.357/1.357, allocations: 223.2 MB / 239.9 MB, free: 5.32 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.428/2.428, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.000483, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8059/0.8064, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.003833/0.8103, allocations: 3.645 MB / 0.9572 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1752/0.9855, allocations: 127.5 MB / 1.082 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008775/0.9864, allocations: 15.94 kB / 1.082 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.9868, allocations: 71.34 kB / 1.082 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.9885, allocations: 489.4 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.9903, allocations: 0.629 MB / 1.083 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001405/0.9917, allocations: 0.7988 MB / 1.084 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007481/0.9925, allocations: 479.2 kB / 1.084 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005558/0.993, allocations: 330.6 kB / 1.084 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.9935, allocations: 336.6 kB / 1.085 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.083e-05/0.9936, allocations: 28 kB / 1.085 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007851/0.9943, allocations: 303.6 kB / 1.085 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.9946, allocations: 191.2 kB / 1.085 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.9948, allocations: 197.1 kB / 1.085 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.9962, allocations: 1.146 MB / 1.087 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.9962, allocations: 0 / 1.087 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9963, allocations: 0 / 1.087 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.9963, allocations: 4 kB / 1.087 GB, free: 7.652 MB / 0.8419 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.002797/0.9991, allocations: 1.212 MB / 1.088 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.9991, allocations: 8.031 kB / 1.088 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001649/0.9993, allocations: 139.2 kB / 1.088 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008983/1, allocations: 194.5 kB / 1.088 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/1.001, allocations: 0.7147 MB / 1.089 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.207e-05/1.001, allocations: 58 kB / 1.089 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/1.002, allocations: 84 kB / 1.089 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/1.003, allocations: 0.9027 MB / 1.09 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/1.003, allocations: 3.953 kB / 1.09 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.147e-05/1.003, allocations: 40 kB / 1.09 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/1.003, allocations: 20 kB / 1.09 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/1.005, allocations: 1.104 MB / 1.091 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003985/1.009, allocations: 2.516 MB / 1.093 GB, free: 456 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/1.01, allocations: 0.795 MB / 1.094 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.934e-05/1.01, allocations: 36.67 kB / 1.094 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008494/1.011, allocations: 491.1 kB / 1.095 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=80): time 2.264e-06/1.011, allocations: 0 / 1.095 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=80): time 0.003071/1.014, allocations: 1.198 MB / 1.096 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/1.014, allocations: 192.6 kB / 1.096 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008004/1.015, allocations: 0.6137 MB / 1.097 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.243e-05/1.015, allocations: 49.69 kB / 1.097 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/1.016, allocations: 400.3 kB / 1.097 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/1.016, allocations: 256.3 kB / 1.097 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/1.016, allocations: 12 kB / 1.097 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001908/1.016, allocations: 390.7 kB / 1.098 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004778/1.017, allocations: 241.9 kB / 1.098 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005643/1.017, allocations: 354.5 kB / 1.098 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005291/1.018, allocations: 294.9 kB / 1.098 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.018, allocations: 0 / 1.098 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001763/1.02, allocations: 0.8097 MB / 1.099 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.02, allocations: 7.938 kB / 1.099 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.02, allocations: 0 / 1.099 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005637/1.02, allocations: 84.83 kB / 1.099 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/1.021, allocations: 155.8 kB / 1.1 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/1.023, allocations: 1.536 MB / 1.101 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007421/1.024, allocations: 95.39 kB / 1.101 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/1.024, allocations: 27.98 kB / 1.101 GB, free: 8.168 MB / 0.8575 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.0004772/1.024, allocations: 269.6 kB / 1.101 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/1.024, allocations: 78.97 kB / 1.101 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/1.027, allocations: 1.085 MB / 1.103 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/1.027, allocations: 8 kB / 1.103 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/1.027, allocations: 0 / 1.103 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/1.027, allocations: 3.984 kB / 1.103 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/1.028, allocations: 0.8879 MB / 1.103 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.028, allocations: 0 / 1.103 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005558/1.028, allocations: 147.8 kB / 1.104 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004892/1.029, allocations: 88.72 kB / 1.104 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/1.029, allocations: 23.98 kB / 1.104 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/1.031, allocations: 1.563 MB / 1.105 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/1.031, allocations: 0 / 1.105 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/1.032, allocations: 0.924 MB / 1.106 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004483/1.033, allocations: 275.7 kB / 1.106 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/1.033, allocations: 28 kB / 1.106 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005972/1.034, allocations: 82.11 kB / 1.106 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/1.034, allocations: 68.89 kB / 1.107 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/1.034, allocations: 35.98 kB / 1.107 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006161/1.035, allocations: 451 kB / 1.107 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.645e-06/1.035, allocations: 0 / 1.107 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009395/1.035, allocations: 315.1 kB / 1.107 GB, free: 1.621 MB / 0.8575 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.003463/1.039, allocations: 1.974 MB / 1.109 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001669/1.041, allocations: 0.7924 MB / 1.11 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.041, allocations: 4 kB / 1.11 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008898/1.042, allocations: 0.512 MB / 1.11 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/1.043, allocations: 241 kB / 1.111 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.053, allocations: 5.477 MB / 1.116 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/1.054, allocations: 1.039 MB / 1.117 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008606/1.054, allocations: 258.6 kB / 1.117 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00052/1.055, allocations: 383.3 kB / 1.118 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of SimCode: time 9.42e-07/1.055, allocations: 0 / 1.118 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04435/1.099, allocations: 20.99 MB / 1.138 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/1.1, allocations: 293 kB / 1.138 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/3.425, allocations: 0 / 1.138 GB, free: 2.051 MB / 0.8887 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