Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_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.0008272/0.0008307, 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.0008612/0.0008615, 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.363/1.363, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.483/2.483, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003358, allocations: 15.94 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7709/0.7712, allocations: 146.8 MB / 0.9811 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007445/0.7788, allocations: 3.996 MB / 0.985 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1744/0.9532, allocations: 137 MB / 1.119 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.9544, allocations: 11.94 kB / 1.119 GB, free: 8.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005856/0.955, allocations: 142.8 kB / 1.119 GB, free: 8.77 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.9567, allocations: 423.5 kB / 1.119 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.959, allocations: 0.7161 MB / 1.12 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001774/0.9607, allocations: 1.282 MB / 1.121 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008693/0.9616, allocations: 0.5704 MB / 1.122 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007391/0.9624, allocations: 402.3 kB / 1.122 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006411/0.963, allocations: 465.7 kB / 1.123 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.577e-05/0.9631, allocations: 32 kB / 1.123 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009739/0.9641, allocations: 367.7 kB / 1.123 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.9644, allocations: 223 kB / 1.123 GB, free: 4.316 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.9646, allocations: 221 kB / 1.123 GB, free: 4.094 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.9662, allocations: 1.337 MB / 1.125 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.9662, allocations: 0 / 1.125 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.775e-06/0.9662, allocations: 0 / 1.125 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.9663, allocations: 0 / 1.125 GB, free: 2.754 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.00285/0.9691, allocations: 1.419 MB / 1.126 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.9692, allocations: 12.03 kB / 1.126 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002125/0.9694, allocations: 165 kB / 1.126 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004745/0.9741, allocations: 0.8294 MB / 1.127 GB, free: 272 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.9757, allocations: 0.7849 MB / 1.128 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.437e-05/0.9758, allocations: 82.2 kB / 1.128 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.9759, allocations: 104 kB / 1.128 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003161/0.9791, allocations: 1.451 MB / 1.13 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.9791, allocations: 0 / 1.13 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.9793, allocations: 48 kB / 1.13 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.9793, allocations: 24 kB / 1.13 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004292/0.9836, allocations: 1.932 MB / 1.131 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006231/0.9898, allocations: 3.318 MB / 1.135 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/0.9929, allocations: 1.37 MB / 1.136 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.9943, allocations: 0.6065 MB / 1.137 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000649/0.995, allocations: 478.5 kB / 1.137 GB, free: 5.777 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001761/0.9968, allocations: 0.8088 MB / 1.138 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=109): time 2.555e-06/0.9968, allocations: 0 / 1.138 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of matching and sorting (n=109): time 0.005546/1.002, allocations: 1.989 MB / 1.14 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.002, allocations: 196.9 kB / 1.14 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008895/1.003, allocations: 0.6411 MB / 1.141 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/1.003, allocations: 41.7 kB / 1.141 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/1.004, allocations: 452.5 kB / 1.141 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/1.004, allocations: 347 kB / 1.141 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/1.004, allocations: 20 kB / 1.141 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001714/1.004, allocations: 394.7 kB / 1.142 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/1.006, allocations: 493.7 kB / 1.142 GB, free: 320 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/1.007, allocations: 0.6087 MB / 1.143 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/1.009, allocations: 0.5144 MB / 1.143 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/1.009, allocations: 4 kB / 1.143 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00367/1.012, allocations: 1.336 MB / 1.145 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/1.012, allocations: 4 kB / 1.145 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/1.012, allocations: 4 kB / 1.145 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005562/1.013, allocations: 76.91 kB / 1.145 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/1.014, allocations: 263.6 kB / 1.145 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/1.017, allocations: 1.532 MB / 1.147 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/1.018, allocations: 171.1 kB / 1.147 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/1.018, allocations: 47.97 kB / 1.147 GB, free: 11.58 MB / 0.9044 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.0007633/1.019, allocations: 285.6 kB / 1.147 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/1.019, allocations: 94.78 kB / 1.147 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004661/1.024, allocations: 1.696 MB / 1.149 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/1.024, allocations: 12 kB / 1.149 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.024, allocations: 0 / 1.149 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/1.024, allocations: 11.97 kB / 1.149 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006484/1.03, allocations: 2.854 MB / 1.152 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.607e-06/1.03, allocations: 0 / 1.152 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/1.032, allocations: 259.6 kB / 1.152 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004761/1.032, allocations: 88.77 kB / 1.152 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/1.032, allocations: 35.91 kB / 1.152 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/1.034, allocations: 1.548 MB / 1.153 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.034, allocations: 8.031 kB / 1.153 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003927/1.038, allocations: 1.535 MB / 1.155 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006885/1.039, allocations: 331.4 kB / 1.155 GB, free: 2.574 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000248/1.039, allocations: 23.95 kB / 1.155 GB, free: 2.551 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/1.04, allocations: 150.9 kB / 1.155 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/1.041, allocations: 84.88 kB / 1.156 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/1.041, allocations: 47.97 kB / 1.156 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007541/1.041, allocations: 479 kB / 1.156 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.041, allocations: 0 / 1.156 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001261/1.043, allocations: 379 kB / 1.156 GB, free: 1.441 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.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.005568/1.048, allocations: 2.593 MB / 1.159 GB, free: 15 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003553/1.052, allocations: 1.362 MB / 1.16 GB, free: 13.63 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/1.052, allocations: 3.984 kB / 1.16 GB, free: 13.62 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001872/1.054, allocations: 0.8241 MB / 1.161 GB, free: 12.79 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/1.055, allocations: 268.2 kB / 1.161 GB, free: 12.54 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/1.071, allocations: 6.585 MB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008903/1.072, allocations: 1.085 MB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001766/1.074, allocations: 331.7 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008672/1.075, allocations: 451.2 kB / 1.17 GB, free: 3.906 MB / 0.92 GB Notification: Performance of SimCode: time 9.52e-07/1.075, allocations: 4 kB / 1.17 GB, free: 3.902 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05909/1.134, allocations: 25.24 MB / 1.194 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/1.134, allocations: 307.9 kB / 1.195 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/3.604, allocations: 2.969 kB / 1.195 GB, free: 10.75 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat does not exist to compare? outputFormat=mat