Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.001354/0.001354, allocations: 99.62 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.001757/0.001758, 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.176/2.176, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.2/4.2, allocations: 409.2 MB / 0.6838 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008304/0.0008308, allocations: 11.98 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304/1.305, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.009383/1.314, allocations: 3.751 MB / 0.9845 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2913/1.606, allocations: 127.7 MB / 1.109 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/1.607, allocations: 11.94 kB / 1.109 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007974/1.608, allocations: 83.25 kB / 1.109 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003918/1.612, allocations: 0.5127 MB / 1.11 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003835/1.616, allocations: 0.6321 MB / 1.11 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003054/1.619, allocations: 0.8571 MB / 1.111 GB, free: 412 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/1.621, allocations: 475.5 kB / 1.112 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/1.622, allocations: 374.4 kB / 1.112 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008486/1.623, allocations: 367.7 kB / 1.112 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/1.623, allocations: 28 kB / 1.112 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/1.624, allocations: 311.6 kB / 1.113 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003919/1.625, allocations: 195.2 kB / 1.113 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004525/1.625, allocations: 201.1 kB / 1.113 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002934/1.628, allocations: 1.192 MB / 1.114 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.628, allocations: 0 / 1.114 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.108e-06/1.628, allocations: 4 kB / 1.114 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.384e-05/1.628, allocations: 0 / 1.114 GB, free: 13.27 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.004741/1.633, allocations: 1.257 MB / 1.116 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.735e-05/1.633, allocations: 16.03 kB / 1.116 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003869/1.633, allocations: 139.5 kB / 1.116 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/1.635, allocations: 202.4 kB / 1.116 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/1.638, allocations: 0.7271 MB / 1.117 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/1.638, allocations: 69.95 kB / 1.117 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/1.638, allocations: 95.92 kB / 1.117 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003213/1.641, allocations: 0.9574 MB / 1.118 GB, free: 9.676 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/1.642, allocations: 3.938 kB / 1.118 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/1.642, allocations: 36 kB / 1.118 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.132e-05/1.642, allocations: 20 kB / 1.118 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003837/1.646, allocations: 1.163 MB / 1.119 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009069/1.655, allocations: 2.706 MB / 1.122 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003333/1.658, allocations: 0.8528 MB / 1.122 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/1.658, allocations: 36.67 kB / 1.122 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001877/1.66, allocations: 0.5353 MB / 1.123 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 6.973e-06/1.66, allocations: 4 kB / 1.123 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.006326/1.667, allocations: 1.287 MB / 1.124 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001858/1.667, allocations: 200.8 kB / 1.124 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/1.669, allocations: 0.6411 MB / 1.125 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001869/1.669, allocations: 45.7 kB / 1.125 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006788/1.67, allocations: 412.3 kB / 1.125 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004927/1.67, allocations: 280 kB / 1.126 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.998e-05/1.67, allocations: 16 kB / 1.126 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000336/1.671, allocations: 390.7 kB / 1.126 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/1.672, allocations: 273.9 kB / 1.126 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/1.673, allocations: 378.5 kB / 1.127 GB, free: 220 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/1.675, allocations: 314.9 kB / 1.127 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/1.675, allocations: 7.938 kB / 1.127 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004133/1.679, allocations: 0.8682 MB / 1.128 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/1.679, allocations: 12.09 kB / 1.128 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.679, allocations: 0 / 1.128 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/1.68, allocations: 84.77 kB / 1.128 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/1.682, allocations: 179.8 kB / 1.128 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003245/1.685, allocations: 1.532 MB / 1.13 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/1.686, allocations: 112 kB / 1.13 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002655/1.687, allocations: 27.98 kB / 1.13 GB, free: 12.94 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$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 (97): * Single equations (assignments): 96 * 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.001193/1.688, allocations: 281.6 kB / 1.13 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005395/1.689, allocations: 86.97 kB / 1.13 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005545/1.694, allocations: 1.179 MB / 1.131 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.794e-05/1.694, allocations: 16 kB / 1.131 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/1.694, allocations: 0 / 1.131 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.307e-05/1.694, allocations: 3.984 kB / 1.131 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002724/1.697, allocations: 0.9425 MB / 1.132 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/1.697, allocations: 0 / 1.132 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/1.698, allocations: 159.8 kB / 1.132 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/1.699, allocations: 80.78 kB / 1.132 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/1.7, allocations: 31.97 kB / 1.132 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003392/1.703, allocations: 1.563 MB / 1.134 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/1.703, allocations: 0 / 1.134 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003868/1.707, allocations: 0.998 MB / 1.135 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009685/1.708, allocations: 307.5 kB / 1.135 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003881/1.708, allocations: 27.95 kB / 1.135 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/1.71, allocations: 89.39 kB / 1.135 GB, free: 6.934 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002901/1.71, allocations: 80.88 kB / 1.135 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/1.71, allocations: 35.98 kB / 1.135 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001269/1.712, allocations: 475 kB / 1.136 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3e-07/1.712, allocations: 0 / 1.136 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001275/1.713, allocations: 315.3 kB / 1.136 GB, free: 6.051 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00437/1.717, allocations: 2.051 MB / 1.138 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00218/1.719, allocations: 0.8587 MB / 1.139 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/1.719, allocations: 0 / 1.139 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/1.72, allocations: 0.551 MB / 1.14 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/1.722, allocations: 235.7 kB / 1.14 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/1.736, allocations: 5.77 MB / 1.145 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009193/1.737, allocations: 1.069 MB / 1.147 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001248/1.738, allocations: 279 kB / 1.147 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008506/1.739, allocations: 411.3 kB / 1.147 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of SimCode: time 1.853e-06/1.739, allocations: 0 / 1.147 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06972/1.809, allocations: 22.16 MB / 1.169 GB, free: 5.07 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004417/1.809, allocations: 292.7 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.926/5.735, allocations: 0 / 1.169 GB, free: 4.719 MB / 0.92 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat does not exist to compare? outputFormat=mat