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.0007672/0.0007671, 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.000827/0.0008271, 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.421/1.421, 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 10.0.0-master/package.mo): time 2.511/2.511, allocations: 409.4 MB / 0.684 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003197, allocations: 11.94 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6549/0.6553, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005162/0.6605, allocations: 3.844 MB / 0.9849 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1516/0.8121, allocations: 136.9 MB / 1.119 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009291/0.8131, allocations: 19.88 kB / 1.119 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.8136, allocations: 126.9 kB / 1.119 GB, free: 8.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.8152, allocations: 453.1 kB / 1.119 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.8172, allocations: 0.6276 MB / 1.12 GB, free: 7.848 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001355/0.8186, allocations: 1.191 MB / 1.121 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007427/0.8194, allocations: 491.5 kB / 1.121 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005927/0.82, allocations: 354.4 kB / 1.122 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006477/0.8206, allocations: 390 kB / 1.122 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.895e-05/0.8207, allocations: 28 kB / 1.122 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008558/0.8216, allocations: 343.7 kB / 1.123 GB, free: 5.066 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002718/0.8219, allocations: 191.1 kB / 1.123 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.822, allocations: 201.1 kB / 1.123 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.8232, allocations: 1.192 MB / 1.124 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.8232, allocations: 0 / 1.124 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8232, allocations: 0 / 1.124 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.8232, allocations: 0 / 1.124 GB, free: 3.48 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.002354/0.8256, allocations: 1.257 MB / 1.125 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.8256, allocations: 12.03 kB / 1.125 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002547/0.8259, allocations: 139.4 kB / 1.125 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008148/0.8267, allocations: 202.4 kB / 1.126 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.8278, allocations: 0.735 MB / 1.126 GB, free: 1.039 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-05/0.8278, allocations: 69.95 kB / 1.126 GB, free: 0.9688 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.8279, allocations: 83.94 kB / 1.126 GB, free: 0.8867 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.8295, allocations: 0.9729 MB / 1.127 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.8295, allocations: 0 / 1.127 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.736e-05/0.8296, allocations: 36 kB / 1.127 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.8296, allocations: 20 kB / 1.127 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.8315, allocations: 1.159 MB / 1.129 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003775/0.8353, allocations: 2.7 MB / 1.131 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.8367, allocations: 0.8528 MB / 1.132 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006017/0.8373, allocations: 322.7 kB / 1.132 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.234e-05/0.8374, allocations: 28.69 kB / 1.132 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008713/0.8383, allocations: 0.5431 MB / 1.133 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=88): time 2.514e-06/0.8383, allocations: 0 / 1.133 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88): time 0.002864/0.8411, allocations: 1.298 MB / 1.134 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.549e-05/0.8412, allocations: 188.9 kB / 1.134 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000817/0.8421, allocations: 0.645 MB / 1.135 GB, free: 7.922 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.6e-05/0.8422, allocations: 49.7 kB / 1.135 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.8425, allocations: 408.3 kB / 1.135 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.8427, allocations: 283.9 kB / 1.136 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.8427, allocations: 19.94 kB / 1.136 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.8429, allocations: 390.7 kB / 1.136 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/0.8434, allocations: 269.9 kB / 1.136 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005715/0.844, allocations: 390.5 kB / 1.137 GB, free: 6.098 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005671/0.8446, allocations: 314.9 kB / 1.137 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8446, allocations: 0 / 1.137 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001747/0.8463, allocations: 0.876 MB / 1.138 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.8464, allocations: 8 kB / 1.138 GB, free: 4.895 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.8464, allocations: 0 / 1.138 GB, free: 4.895 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00052/0.8469, allocations: 80.84 kB / 1.138 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.8476, allocations: 171.8 kB / 1.138 GB, free: 4.645 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/0.8495, allocations: 1.528 MB / 1.14 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007082/0.8502, allocations: 114.3 kB / 1.14 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-05/0.8503, allocations: 35.97 kB / 1.14 GB, free: 2.832 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.0004618/0.8507, allocations: 267.2 kB / 1.14 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.8509, allocations: 86.97 kB / 1.14 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.8533, allocations: 1.179 MB / 1.141 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.8533, allocations: 12 kB / 1.141 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.8533, allocations: 0 / 1.141 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.8534, allocations: 11.95 kB / 1.141 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.8546, allocations: 0.9347 MB / 1.142 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.8546, allocations: 3.984 kB / 1.142 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006128/0.8552, allocations: 159.8 kB / 1.142 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/0.8557, allocations: 84.77 kB / 1.142 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-05/0.8558, allocations: 23.98 kB / 1.142 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/0.858, allocations: 1.548 MB / 1.144 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.858, allocations: 4.062 kB / 1.144 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.86, allocations: 0.9979 MB / 1.145 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/0.8605, allocations: 307.5 kB / 1.145 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.8607, allocations: 19.95 kB / 1.145 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006583/0.8614, allocations: 87.92 kB / 1.145 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.8615, allocations: 84.81 kB / 1.145 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.859e-05/0.8616, allocations: 35.98 kB / 1.145 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008859/0.8625, allocations: 479 kB / 1.146 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8625, allocations: 0 / 1.146 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009544/0.8635, allocations: 319.3 kB / 1.146 GB, free: 11.97 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: 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.003686/0.8672, allocations: 2.051 MB / 1.148 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001831/0.869, allocations: 0.8587 MB / 1.149 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.869, allocations: 0 / 1.149 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000963/0.87, allocations: 0.5471 MB / 1.15 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.8714, allocations: 255 kB / 1.15 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.8831, allocations: 5.371 MB / 1.155 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008291/0.8839, allocations: 1.038 MB / 1.156 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.00109/0.8851, allocations: 279 kB / 1.156 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006508/0.8857, allocations: 415.2 kB / 1.157 GB, free: 1.156 MB / 0.9044 GB Notification: Performance of SimCode: time 1.022e-06/0.8857, allocations: 0 / 1.157 GB, free: 1.156 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1685/1.054, allocations: 22.2 MB / 1.178 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/1.055, allocations: 304.5 kB / 1.179 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.52/3.575, allocations: 2.656 kB / 1.179 GB, free: 11.02 MB / 0.9356 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