Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.001273/0.001273, allocations: 100 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.00141/0.00141, 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.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.422 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.456/2.456, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7416/0.7419, allocations: 142.3 MB / 0.9536 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004005/0.746, allocations: 3.712 MB / 0.9572 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1453/0.8913, allocations: 127.6 MB / 1.082 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005399/0.8919, allocations: 15.88 kB / 1.082 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.8922, allocations: 79.27 kB / 1.082 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.8934, allocations: 493.5 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.8949, allocations: 0.6438 MB / 1.083 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001065/0.896, allocations: 0.8222 MB / 1.084 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006823/0.8967, allocations: 0.5583 MB / 1.084 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004222/0.8971, allocations: 346.5 kB / 1.085 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003856/0.8975, allocations: 354.1 kB / 1.085 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.099e-05/0.8976, allocations: 28 kB / 1.085 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006162/0.8982, allocations: 315.6 kB / 1.085 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.8984, allocations: 183.2 kB / 1.086 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.8986, allocations: 205.1 kB / 1.086 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.8997, allocations: 1.231 MB / 1.087 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.8997, allocations: 0 / 1.087 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8997, allocations: 0 / 1.087 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.8997, allocations: 3.938 kB / 1.087 GB, free: 7.301 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002199/0.9019, allocations: 1.282 MB / 1.088 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.9019, allocations: 12.03 kB / 1.088 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001674/0.9021, allocations: 148.1 kB / 1.088 GB, free: 5.797 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.9037, allocations: 318.3 kB / 1.089 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.9048, allocations: 0.738 MB / 1.089 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.9049, allocations: 77.98 kB / 1.089 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.905, allocations: 92 kB / 1.089 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.9068, allocations: 1.062 MB / 1.091 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.9068, allocations: 0 / 1.091 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.878e-05/0.9069, allocations: 36 kB / 1.091 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.907, allocations: 24 kB / 1.091 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/0.9093, allocations: 1.276 MB / 1.092 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004498/0.9138, allocations: 2.741 MB / 1.095 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/0.9164, allocations: 1.032 MB / 1.096 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.774e-05/0.9164, allocations: 28.61 kB / 1.096 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.9175, allocations: 0.5587 MB / 1.096 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=84): time 2.394e-06/0.9176, allocations: 0 / 1.096 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=84): time 0.003751/0.9213, allocations: 1.385 MB / 1.097 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.363e-05/0.9214, allocations: 192.9 kB / 1.098 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007785/0.9222, allocations: 0.6294 MB / 1.098 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.342e-05/0.9223, allocations: 45.64 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/0.9226, allocations: 428.2 kB / 1.099 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.9229, allocations: 276 kB / 1.099 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.9229, allocations: 20 kB / 1.099 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.9231, allocations: 382.8 kB / 1.099 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007281/0.9238, allocations: 305.8 kB / 1.1 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008207/0.9246, allocations: 406.5 kB / 1.1 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007808/0.9254, allocations: 354.8 kB / 1.1 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.9254, allocations: 0 / 1.1 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002224/0.9277, allocations: 0.915 MB / 1.101 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.9277, allocations: 4 kB / 1.101 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.9277, allocations: 0 / 1.101 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005787/0.9283, allocations: 84.92 kB / 1.101 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008085/0.9291, allocations: 191.7 kB / 1.102 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.9312, allocations: 1.526 MB / 1.103 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008594/0.9321, allocations: 120.5 kB / 1.103 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.217e-05/0.9321, allocations: 31.92 kB / 1.103 GB, free: 6.121 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 (90): * Single equations (assignments): 89 * 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.0004555/0.9326, allocations: 273.9 kB / 1.103 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.9327, allocations: 90.92 kB / 1.104 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002784/0.9355, allocations: 1.21 MB / 1.105 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.9355, allocations: 8 kB / 1.105 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.9355, allocations: 0 / 1.105 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.9356, allocations: 15.97 kB / 1.105 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003733/0.9393, allocations: 2.164 MB / 1.107 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.9393, allocations: 0 / 1.107 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007563/0.9401, allocations: 179.7 kB / 1.107 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005112/0.9406, allocations: 84.78 kB / 1.107 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.539e-05/0.9407, allocations: 31.97 kB / 1.107 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.9428, allocations: 1.556 MB / 1.109 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.9428, allocations: 7.938 kB / 1.109 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/0.9455, allocations: 1.121 MB / 1.11 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/0.946, allocations: 295.6 kB / 1.11 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.9462, allocations: 20 kB / 1.11 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007886/0.947, allocations: 102.1 kB / 1.11 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.9471, allocations: 72.89 kB / 1.11 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.741e-05/0.9472, allocations: 35.98 kB / 1.11 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000591/0.9478, allocations: 463 kB / 1.111 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9478, allocations: 4 kB / 1.111 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009199/0.9487, allocations: 335 kB / 1.111 GB, free: 13.84 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.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 (97): * Single equations (assignments): 91 * 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.003991/0.9527, allocations: 2.164 MB / 1.113 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002259/0.955, allocations: 0.9173 MB / 1.114 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.955, allocations: 4 kB / 1.114 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.9563, allocations: 0.5783 MB / 1.115 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.9575, allocations: 239 kB / 1.115 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/0.9699, allocations: 5.9 MB / 1.121 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008881/0.9708, allocations: 1.071 MB / 1.122 GB, free: 2.953 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001151/0.972, allocations: 278.8 kB / 1.122 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007419/0.9728, allocations: 419.3 kB / 1.122 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of SimCode: time 1.112e-06/0.9728, allocations: 0 / 1.122 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04685/1.02, allocations: 22.09 MB / 1.144 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004922/1.02, allocations: 288.6 kB / 1.144 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/3.328, allocations: 1.5 kB / 1.144 GB, free: 12.23 MB / 0.9044 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat does not exist to compare? outputFormat=mat