Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.0008116/0.0008117, allocations: 89.73 kB / 15.06 MB, free: 1.098 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.0008093/0.0008094, allocations: 172.7 kB / 15.95 MB, free: 208 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.381/1.381, allocations: 223.3 MB / 240 MB, free: 5.426 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.446/2.446, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004007, allocations: 11.94 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7393/0.7398, allocations: 142.3 MB / 0.9539 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004871/0.7447, allocations: 3.984 MB / 0.9577 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1789/0.9236, allocations: 137 MB / 1.091 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.9247, allocations: 11.94 kB / 1.092 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005664/0.9252, allocations: 134.9 kB / 1.092 GB, free: 2.664 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.9269, allocations: 432.4 kB / 1.092 GB, free: 2.246 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002421/0.9293, allocations: 0.7162 MB / 1.093 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001964/0.9313, allocations: 1.274 MB / 1.094 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009307/0.9323, allocations: 0.5821 MB / 1.095 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007084/0.933, allocations: 402.3 kB / 1.095 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005917/0.9336, allocations: 469.6 kB / 1.095 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.9337, allocations: 32 kB / 1.095 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009266/0.9346, allocations: 371.6 kB / 1.096 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.9349, allocations: 215 kB / 1.096 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002212/0.9351, allocations: 225 kB / 1.096 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.9364, allocations: 1.34 MB / 1.098 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.9365, allocations: 0 / 1.098 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9365, allocations: 0 / 1.098 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.9365, allocations: 4 kB / 1.098 GB, free: 12.62 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.002875/0.9394, allocations: 1.411 MB / 1.099 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.9394, allocations: 12.03 kB / 1.099 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002277/0.9397, allocations: 164.9 kB / 1.099 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004872/0.9445, allocations: 0.8255 MB / 1.1 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.946, allocations: 0.7811 MB / 1.101 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.542e-05/0.9461, allocations: 82.2 kB / 1.101 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.9462, allocations: 108 kB / 1.101 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003584/0.9498, allocations: 1.455 MB / 1.102 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.9499, allocations: 0 / 1.102 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.95, allocations: 48 kB / 1.102 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.95, allocations: 24 kB / 1.102 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004654/0.9547, allocations: 1.928 MB / 1.104 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006667/0.9614, allocations: 3.304 MB / 1.107 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003115/0.9646, allocations: 1.384 MB / 1.109 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.966, allocations: 0.5972 MB / 1.109 GB, free: 212 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007003/0.9667, allocations: 474.6 kB / 1.11 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001831/0.9685, allocations: 0.8127 MB / 1.111 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=109): time 2.776e-06/0.9686, allocations: 0 / 1.111 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=109): time 0.005651/0.9742, allocations: 1.981 MB / 1.113 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.9744, allocations: 196.9 kB / 1.113 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000939/0.9753, allocations: 0.6488 MB / 1.113 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.9755, allocations: 49.64 kB / 1.113 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/0.9758, allocations: 440.6 kB / 1.114 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003291/0.9762, allocations: 354.8 kB / 1.114 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.9763, allocations: 20 kB / 1.114 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.9765, allocations: 390.8 kB / 1.115 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.9778, allocations: 493.7 kB / 1.115 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.9792, allocations: 0.6086 MB / 1.116 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.9805, allocations: 0.526 MB / 1.116 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.9806, allocations: 4 kB / 1.116 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003662/0.9842, allocations: 1.329 MB / 1.117 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.9843, allocations: 8.781 kB / 1.117 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.9843, allocations: 3.953 kB / 1.117 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005539/0.9849, allocations: 80.89 kB / 1.118 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.9862, allocations: 267.6 kB / 1.118 GB, free: 7.324 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.9881, allocations: 1.524 MB / 1.119 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.9895, allocations: 168 kB / 1.119 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.534e-05/0.9896, allocations: 47.97 kB / 1.119 GB, free: 5.457 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (116): * Single equations (assignments): 115 * 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.0006/0.9902, allocations: 281.6 kB / 1.12 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.9904, allocations: 94.88 kB / 1.12 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004354/0.9947, allocations: 1.695 MB / 1.121 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.9948, allocations: 12 kB / 1.121 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.9948, allocations: 4 kB / 1.121 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.9948, allocations: 7.969 kB / 1.121 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00576/1.001, allocations: 2.863 MB / 1.124 GB, free: 432 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/1.001, allocations: 0 / 1.124 GB, free: 432 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/1.002, allocations: 259.6 kB / 1.125 GB, free: 172 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004668/1.002, allocations: 84.78 kB / 1.125 GB, free: 84 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.859e-05/1.002, allocations: 31.97 kB / 1.125 GB, free: 52 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/1.004, allocations: 1.556 MB / 1.126 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/1.004, allocations: 3.984 kB / 1.126 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003832/1.008, allocations: 1.527 MB / 1.128 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005816/1.009, allocations: 335.3 kB / 1.128 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/1.009, allocations: 24 kB / 1.128 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/1.01, allocations: 139.9 kB / 1.128 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/1.01, allocations: 92.83 kB / 1.128 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.01, allocations: 47.95 kB / 1.128 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007293/1.011, allocations: 475 kB / 1.129 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.41e-07/1.011, allocations: 0 / 1.129 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001199/1.012, allocations: 371.1 kB / 1.129 GB, free: 11.34 MB / 0.8887 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * 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.005437/1.018, allocations: 2.615 MB / 1.132 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003652/1.022, allocations: 1.354 MB / 1.133 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.022, allocations: 0 / 1.133 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001793/1.023, allocations: 0.828 MB / 1.134 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/1.025, allocations: 269.5 kB / 1.134 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/1.039, allocations: 6.57 MB / 1.14 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006501/1.04, allocations: 1.092 MB / 1.142 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001652/1.041, allocations: 331.7 kB / 1.142 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007956/1.042, allocations: 455.2 kB / 1.142 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of SimCode: time 3.697e-06/1.042, allocations: 0 / 1.142 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04856/1.091, allocations: 25.26 MB / 1.167 GB, free: 4.992 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00028/1.091, allocations: 305.5 kB / 1.167 GB, free: 4.637 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.579/3.67, allocations: 0 / 1.167 GB, free: 4.637 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat does not exist to compare? outputFormat=mat