Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.001601/0.001601, allocations: 99.08 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.001868/0.001868, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.35/2.35, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.424/4.424, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007004/0.0007008, allocations: 8 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223/1.224, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009758/1.234, allocations: 4.476 MB / 0.9852 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2878/1.522, allocations: 127.9 MB / 1.11 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002082/1.524, allocations: 19.94 kB / 1.11 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/1.525, allocations: 91.12 kB / 1.11 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004346/1.529, allocations: 0.6053 MB / 1.111 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004515/1.534, allocations: 0.7489 MB / 1.112 GB, free: 68 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004362/1.538, allocations: 1.09 MB / 1.113 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002633/1.541, allocations: 0.9308 MB / 1.114 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/1.543, allocations: 0.4977 MB / 1.114 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/1.545, allocations: 0.5128 MB / 1.115 GB, free: 13 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002485/1.545, allocations: 36 kB / 1.115 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/1.547, allocations: 323.5 kB / 1.115 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004348/1.547, allocations: 254.8 kB / 1.115 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00064/1.548, allocations: 304.8 kB / 1.115 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00365/1.552, allocations: 1.89 MB / 1.117 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.552, allocations: 0 / 1.117 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.559e-06/1.552, allocations: 0 / 1.117 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.639e-05/1.552, allocations: 8 kB / 1.117 GB, free: 10.2 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.006282/1.558, allocations: 1.663 MB / 1.119 GB, free: 8.48 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 7.104e-05/1.558, allocations: 8.031 kB / 1.119 GB, free: 8.473 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006658/1.559, allocations: 228 kB / 1.119 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/1.561, allocations: 265.6 kB / 1.119 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002706/1.563, allocations: 0.9383 MB / 1.12 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002556/1.564, allocations: 152.8 kB / 1.12 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003281/1.564, allocations: 148 kB / 1.121 GB, free: 6.691 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004854/1.569, allocations: 1.573 MB / 1.122 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.419e-05/1.569, allocations: 0 / 1.122 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/1.569, allocations: 64 kB / 1.122 GB, free: 5 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-05/1.569, allocations: 39.98 kB / 1.122 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004884/1.574, allocations: 1.596 MB / 1.124 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01334/1.588, allocations: 4.285 MB / 1.128 GB, free: 15 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003349/1.591, allocations: 1.095 MB / 1.129 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/1.591, allocations: 44.86 kB / 1.129 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002066/1.593, allocations: 0.6958 MB / 1.13 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=111): time 4.809e-06/1.593, allocations: 0 / 1.13 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of matching and sorting (n=111): time 0.006873/1.6, allocations: 1.658 MB / 1.131 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002113/1.601, allocations: 192.9 kB / 1.132 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/1.603, allocations: 0.8339 MB / 1.132 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002955/1.603, allocations: 49.7 kB / 1.132 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009579/1.604, allocations: 0.6245 MB / 1.133 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005904/1.605, allocations: 347 kB / 1.133 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.817e-05/1.605, allocations: 20 kB / 1.133 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002279/1.605, allocations: 353.9 kB / 1.134 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/1.606, allocations: 370.5 kB / 1.134 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/1.608, allocations: 0.5063 MB / 1.135 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/1.609, allocations: 426.9 kB / 1.135 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/1.609, allocations: 4 kB / 1.135 GB, free: 7.645 MB / 0.8887 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.004943/1.614, allocations: 1.149 MB / 1.136 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/1.615, allocations: 9.25 kB / 1.136 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/1.615, allocations: 0 / 1.136 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/1.616, allocations: 92.77 kB / 1.136 GB, free: 6.383 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/1.617, allocations: 215.7 kB / 1.136 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/1.621, allocations: 1.558 MB / 1.138 GB, free: 4.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/1.623, allocations: 152.4 kB / 1.138 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000319/1.624, allocations: 43.97 kB / 1.138 GB, free: 4.289 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$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,$PRE.HDirRoo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * 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.00157/1.625, allocations: 343.9 kB / 1.138 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006265/1.626, allocations: 114.5 kB / 1.139 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006349/1.632, allocations: 1.559 MB / 1.14 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-05/1.632, allocations: 12 kB / 1.14 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/1.632, allocations: 0 / 1.14 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.154e-05/1.632, allocations: 7.969 kB / 1.14 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0038/1.636, allocations: 1.38 MB / 1.141 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/1.636, allocations: 4 kB / 1.141 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/1.638, allocations: 195.7 kB / 1.142 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000931/1.639, allocations: 84.78 kB / 1.142 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002477/1.639, allocations: 35.97 kB / 1.142 GB, free: 500 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003422/1.642, allocations: 1.575 MB / 1.143 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.642, allocations: 0 / 1.143 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00531/1.648, allocations: 1.289 MB / 1.145 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/1.649, allocations: 383 kB / 1.145 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005322/1.65, allocations: 31.98 kB / 1.145 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001886/1.652, allocations: 103.9 kB / 1.145 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003954/1.652, allocations: 97.16 kB / 1.145 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002616/1.652, allocations: 55.95 kB / 1.145 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001939/1.654, allocations: 0.6098 MB / 1.146 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of sort global known variables: time 5.41e-07/1.654, allocations: 0 / 1.146 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002634/1.657, allocations: 446.4 kB / 1.146 GB, free: 11.73 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.008422/1.666, allocations: 2.35 MB / 1.148 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004474/1.67, allocations: 1.109 MB / 1.15 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/1.67, allocations: 4 kB / 1.15 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002239/1.672, allocations: 0.6738 MB / 1.15 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/1.675, allocations: 267.1 kB / 1.15 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/1.691, allocations: 4.511 MB / 1.155 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00216/1.693, allocations: 1.259 MB / 1.156 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002973/1.696, allocations: 320.9 kB / 1.156 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001857/1.698, allocations: 0.6047 MB / 1.157 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of SimCode: time 5.55e-06/1.698, allocations: 0 / 1.157 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1009/1.799, allocations: 28.11 MB / 1.184 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005356/1.8, allocations: 290.4 kB / 1.185 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.686/6.486, allocations: 0 / 1.185 GB, free: 4.629 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat does not exist to compare? outputFormat=mat