Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_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.0007922/0.000792, allocations: 87.11 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.001217/0.001217, 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.392/1.392, allocations: 223.2 MB / 240 MB, free: 5.434 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.407/2.407, allocations: 390.4 MB / 0.6655 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004023, allocations: 8 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7699/0.7703, allocations: 142.3 MB / 0.9538 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00422/0.7746, allocations: 3.843 MB / 0.9576 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.158/0.9326, allocations: 137 MB / 1.091 GB, free: 2.965 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006437/0.9333, allocations: 11.94 kB / 1.091 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005001/0.9338, allocations: 138.8 kB / 1.091 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.9351, allocations: 448.6 kB / 1.092 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.9368, allocations: 0.6273 MB / 1.093 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.9379, allocations: 1.18 MB / 1.094 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006654/0.9386, allocations: 491.3 kB / 1.094 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005079/0.9391, allocations: 362.5 kB / 1.095 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000428/0.9396, allocations: 390 kB / 1.095 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.685e-05/0.9397, allocations: 28 kB / 1.095 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000671/0.9403, allocations: 335.7 kB / 1.095 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.9406, allocations: 195.1 kB / 1.095 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.9407, allocations: 209.1 kB / 1.096 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.9419, allocations: 1.184 MB / 1.097 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.9419, allocations: 0 / 1.097 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9419, allocations: 0 / 1.097 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.9419, allocations: 0 / 1.097 GB, free: 13.39 MB / 0.8575 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.002228/0.9441, allocations: 1.267 MB / 1.098 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.9442, allocations: 8.031 kB / 1.098 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001612/0.9443, allocations: 143.5 kB / 1.098 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008201/0.9452, allocations: 198.4 kB / 1.098 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009793/0.9462, allocations: 0.7427 MB / 1.099 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.503e-05/0.9462, allocations: 62 kB / 1.099 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-05/0.9463, allocations: 87.98 kB / 1.099 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.9479, allocations: 0.9613 MB / 1.1 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.9479, allocations: 3.953 kB / 1.1 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.609e-05/0.948, allocations: 36 kB / 1.1 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.948, allocations: 24 kB / 1.1 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.9497, allocations: 1.163 MB / 1.101 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/0.9537, allocations: 2.695 MB / 1.104 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.9551, allocations: 0.8394 MB / 1.105 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005283/0.9556, allocations: 330.6 kB / 1.105 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.993e-05/0.9557, allocations: 36.67 kB / 1.105 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009104/0.9567, allocations: 0.5364 MB / 1.106 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=88): time 2.345e-06/0.9567, allocations: 0 / 1.106 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of matching and sorting (n=88): time 0.002965/0.9596, allocations: 1.296 MB / 1.107 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.9598, allocations: 196.9 kB / 1.107 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007617/0.9605, allocations: 0.6489 MB / 1.108 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.9607, allocations: 41.7 kB / 1.108 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.961, allocations: 412.3 kB / 1.108 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/0.9612, allocations: 272 kB / 1.108 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.9613, allocations: 16 kB / 1.108 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.9615, allocations: 398.7 kB / 1.109 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004907/0.962, allocations: 269.9 kB / 1.109 GB, free: 424 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/0.9626, allocations: 394.5 kB / 1.109 GB, free: 0 / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/0.9631, allocations: 314.9 kB / 1.11 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.9631, allocations: 0 / 1.11 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001739/0.9649, allocations: 0.876 MB / 1.111 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.9649, allocations: 7.953 kB / 1.111 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.9649, allocations: 0 / 1.111 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005406/0.9655, allocations: 88.83 kB / 1.111 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/0.9662, allocations: 167.7 kB / 1.111 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.9683, allocations: 1.52 MB / 1.112 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006687/0.969, allocations: 99.36 kB / 1.112 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/0.9691, allocations: 39.97 kB / 1.112 GB, free: 12.75 MB / 0.8731 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.00045/0.9696, allocations: 269.7 kB / 1.113 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.9697, allocations: 94.83 kB / 1.113 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.9722, allocations: 1.187 MB / 1.114 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.9722, allocations: 8 kB / 1.114 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.9722, allocations: 0 / 1.114 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.9722, allocations: 7.969 kB / 1.114 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.9733, allocations: 0.9384 MB / 1.115 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.9733, allocations: 4 kB / 1.115 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005875/0.9739, allocations: 155.8 kB / 1.115 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004454/0.9744, allocations: 88.7 kB / 1.115 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/0.9745, allocations: 23.98 kB / 1.115 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.9764, allocations: 1.548 MB / 1.117 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.9765, allocations: 3.984 kB / 1.117 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.9785, allocations: 0.9981 MB / 1.118 GB, free: 7.199 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/0.979, allocations: 299.5 kB / 1.118 GB, free: 6.887 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.9792, allocations: 28 kB / 1.118 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005956/0.9798, allocations: 83.92 kB / 1.118 GB, free: 6.777 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.9799, allocations: 84.83 kB / 1.118 GB, free: 6.695 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.683e-05/0.98, allocations: 35.98 kB / 1.118 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006543/0.9807, allocations: 475 kB / 1.119 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9807, allocations: 0 / 1.119 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009657/0.9817, allocations: 323.2 kB / 1.119 GB, free: 5.883 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: 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.003453/0.9851, allocations: 2.064 MB / 1.121 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001609/0.9868, allocations: 0.8587 MB / 1.122 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.9868, allocations: 0 / 1.122 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008907/0.9877, allocations: 0.551 MB / 1.122 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.9887, allocations: 262.9 kB / 1.123 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.9988, allocations: 5.361 MB / 1.128 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008385/0.9996, allocations: 1.044 MB / 1.129 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00154/1.001, allocations: 267.1 kB / 1.129 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007643/1.002, allocations: 407.3 kB / 1.129 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of SimCode: time 3.737e-06/1.002, allocations: 4 kB / 1.129 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0457/1.048, allocations: 22.19 MB / 1.151 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000272/1.048, allocations: 300.9 kB / 1.151 GB, free: 4.926 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/3.464, allocations: 0 / 1.151 GB, free: 4.926 MB / 0.9044 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat does not exist to compare? outputFormat=mat