Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.0007623/0.0007667, 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.0008082/0.0008083, 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.376/1.376, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.437/2.437, allocations: 409.4 MB / 0.684 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.0003049, allocations: 8 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6618/0.6622, allocations: 146.8 MB / 0.9811 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005067/0.6673, allocations: 3.871 MB / 0.9849 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1478/0.8151, allocations: 136.9 MB / 1.119 GB, free: 9.102 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000739/0.8159, allocations: 15.94 kB / 1.119 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004521/0.8164, allocations: 130.9 kB / 1.119 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.8177, allocations: 445 kB / 1.119 GB, free: 8.523 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.8196, allocations: 0.6567 MB / 1.12 GB, free: 7.875 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.8209, allocations: 1.195 MB / 1.121 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007325/0.8216, allocations: 499.3 kB / 1.121 GB, free: 6.172 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005386/0.8222, allocations: 354.4 kB / 1.122 GB, free: 5.824 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004658/0.8227, allocations: 398 kB / 1.122 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.489e-05/0.8227, allocations: 32 kB / 1.122 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000738/0.8235, allocations: 359.7 kB / 1.123 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.8237, allocations: 195.1 kB / 1.123 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.8239, allocations: 213 kB / 1.123 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.8251, allocations: 1.216 MB / 1.124 GB, free: 3.426 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8251, allocations: 0 / 1.124 GB, free: 3.426 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8252, allocations: 0 / 1.124 GB, free: 3.426 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.8252, allocations: 0 / 1.124 GB, free: 3.426 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002291/0.8275, allocations: 1.269 MB / 1.125 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.8275, allocations: 8.031 kB / 1.125 GB, free: 2.102 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.8277, allocations: 139.6 kB / 1.125 GB, free: 1.957 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008019/0.8285, allocations: 206.4 kB / 1.126 GB, free: 1.754 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009976/0.8295, allocations: 0.7427 MB / 1.126 GB, free: 0.9688 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.914e-05/0.8296, allocations: 77.95 kB / 1.126 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.8297, allocations: 84 kB / 1.127 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.8313, allocations: 0.9729 MB / 1.128 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.8314, allocations: 3.984 kB / 1.128 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.31e-05/0.8314, allocations: 39.98 kB / 1.128 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.8315, allocations: 24 kB / 1.128 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.8333, allocations: 1.159 MB / 1.129 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00406/0.8374, allocations: 2.734 MB / 1.131 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.8392, allocations: 0.9857 MB / 1.132 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005316/0.8398, allocations: 330.7 kB / 1.133 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-05/0.8399, allocations: 36.67 kB / 1.133 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008444/0.8407, allocations: 0.5353 MB / 1.133 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=88): time 2.083e-06/0.8407, allocations: 0 / 1.133 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88): time 0.002782/0.8435, allocations: 1.298 MB / 1.134 GB, free: 8.516 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.691e-05/0.8436, allocations: 192.9 kB / 1.135 GB, free: 8.285 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006992/0.8443, allocations: 0.6412 MB / 1.135 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.178e-05/0.8444, allocations: 49.7 kB / 1.135 GB, free: 7.578 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.8447, allocations: 404.4 kB / 1.136 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.8449, allocations: 291.8 kB / 1.136 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.8449, allocations: 16 kB / 1.136 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.8451, allocations: 390.7 kB / 1.136 GB, free: 6.48 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/0.8456, allocations: 269.8 kB / 1.137 GB, free: 6.215 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/0.8461, allocations: 386.5 kB / 1.137 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005344/0.8467, allocations: 310.9 kB / 1.137 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8467, allocations: 3.938 kB / 1.137 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001706/0.8484, allocations: 0.8683 MB / 1.138 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.8484, allocations: 4 kB / 1.138 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.8485, allocations: 0 / 1.138 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005072/0.849, allocations: 88.83 kB / 1.138 GB, free: 4.531 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/0.8496, allocations: 167.7 kB / 1.138 GB, free: 4.367 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.8514, allocations: 1.528 MB / 1.14 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006467/0.8521, allocations: 115.3 kB / 1.14 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.387e-05/0.8521, allocations: 31.97 kB / 1.14 GB, free: 2.559 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: 19 ($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,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.000358/0.8525, allocations: 275.3 kB / 1.14 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.8526, allocations: 82.97 kB / 1.14 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.855, allocations: 1.21 MB / 1.142 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.855, allocations: 8 kB / 1.142 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.855, allocations: 7.938 kB / 1.142 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.926e-05/0.8551, allocations: 11.92 kB / 1.142 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003058/0.8581, allocations: 2.107 MB / 1.144 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.8581, allocations: 0 / 1.144 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006083/0.8587, allocations: 167.8 kB / 1.144 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004531/0.8592, allocations: 84.78 kB / 1.144 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.553e-05/0.8593, allocations: 27.97 kB / 1.144 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.8609, allocations: 1.54 MB / 1.145 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8609, allocations: 3.938 kB / 1.145 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.8628, allocations: 1.101 MB / 1.147 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004198/0.8632, allocations: 303.5 kB / 1.147 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.8633, allocations: 20 kB / 1.147 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/0.864, allocations: 93.45 kB / 1.147 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.8642, allocations: 84.81 kB / 1.147 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.679e-05/0.8643, allocations: 43.97 kB / 1.147 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005693/0.8648, allocations: 470.9 kB / 1.147 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8648, allocations: 0 / 1.147 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008506/0.8657, allocations: 339.2 kB / 1.148 GB, free: 10.35 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.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 (106): * Single equations (assignments): 99 * 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.003542/0.8692, allocations: 2.146 MB / 1.15 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001926/0.8712, allocations: 0.8743 MB / 1.151 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.8712, allocations: 0 / 1.151 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009854/0.8722, allocations: 0.5666 MB / 1.151 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.8735, allocations: 258.4 kB / 1.152 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.884, allocations: 5.384 MB / 1.157 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000805/0.8849, allocations: 1.05 MB / 1.158 GB, free: 72 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001184/0.8861, allocations: 279 kB / 1.158 GB, free: 15.79 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006466/0.8867, allocations: 407.3 kB / 1.158 GB, free: 15.39 MB / 0.92 GB Notification: Performance of SimCode: time 1.362e-06/0.8867, allocations: 0 / 1.158 GB, free: 15.39 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04398/0.9307, allocations: 22.38 MB / 1.18 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003022/0.9311, allocations: 304.7 kB / 1.181 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/3.497, allocations: 0 / 1.181 GB, free: 9.062 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat does not exist to compare? outputFormat=mat