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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.378/2.378, allocations: 393.5 MB / 408.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 172 kB / 0.4901 GB, free: 2.266 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.637/1.637, allocations: 223.1 MB / 0.7992 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 96.2 kB / 0.9396 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003368, allocations: 12.39 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2565, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.997/4.253, allocations: 1.732 GB / 2.962 GB, free: 218.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/4.254, allocations: 102.2 kB / 2.962 GB, free: 218.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1342/4.388, allocations: 60.45 MB / 3.021 GB, free: 167.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.696e-06/4.388, allocations: 0 / 3.021 GB, free: 167.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001099/4.388, allocations: 27.94 kB / 3.021 GB, free: 167.1 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002795/4.391, allocations: 1.214 MB / 3.022 GB, free: 165.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/4.391, allocations: 8.031 kB / 3.022 GB, free: 165.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000355/4.391, allocations: 130.4 kB / 3.022 GB, free: 165.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/4.392, allocations: 194.5 kB / 3.022 GB, free: 165.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/4.394, allocations: 0.6223 MB / 3.023 GB, free: 165 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.786e-05/4.394, allocations: 60 kB / 3.023 GB, free: 165 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/4.394, allocations: 81.05 kB / 3.023 GB, free: 165 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/4.396, allocations: 0.894 MB / 3.024 GB, free: 164.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/4.396, allocations: 0 / 3.024 GB, free: 164.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/4.396, allocations: 40.64 kB / 3.024 GB, free: 164.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/4.396, allocations: 20 kB / 3.024 GB, free: 164.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/4.398, allocations: 1.108 MB / 3.025 GB, free: 163.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004274/4.402, allocations: 2.566 MB / 3.027 GB, free: 161.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/4.404, allocations: 0.8755 MB / 3.028 GB, free: 160.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.558e-05/4.404, allocations: 44.5 kB / 3.028 GB, free: 160.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007273/4.405, allocations: 442.3 kB / 3.029 GB, free: 160.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 2.846e-06/4.405, allocations: 0 / 3.029 GB, free: 160.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.002837/4.407, allocations: 1.14 MB / 3.03 GB, free: 159.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/4.407, allocations: 240 kB / 3.03 GB, free: 159.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008072/4.408, allocations: 0.6063 MB / 3.031 GB, free: 158.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.313e-05/4.408, allocations: 40.14 kB / 3.031 GB, free: 158.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/4.409, allocations: 376.4 kB / 3.031 GB, free: 158.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/4.409, allocations: 248.4 kB / 3.031 GB, free: 158.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/4.409, allocations: 19 kB / 3.031 GB, free: 158.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000111/4.409, allocations: 379.9 kB / 3.032 GB, free: 157.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/4.409, allocations: 225.1 kB / 3.032 GB, free: 157.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004709/4.41, allocations: 346.1 kB / 3.032 GB, free: 157.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/4.41, allocations: 285.5 kB / 3.033 GB, free: 157.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/4.41, allocations: 4 kB / 3.033 GB, free: 157.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001683/4.412, allocations: 0.7534 MB / 3.033 GB, free: 156.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/4.412, allocations: 4 kB / 3.033 GB, free: 156.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/4.412, allocations: 0 / 3.033 GB, free: 156.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/4.413, allocations: 88.22 kB / 3.033 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/4.413, allocations: 139.4 kB / 3.034 GB, free: 156.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/4.415, allocations: 1.539 MB / 3.035 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007296/4.416, allocations: 94 kB / 3.035 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.609e-05/4.416, allocations: 27.55 kB / 3.035 GB, free: 154.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0004967/4.416, allocations: 259.6 kB / 3.035 GB, free: 154.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/4.417, allocations: 79.06 kB / 3.035 GB, free: 154.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/4.419, allocations: 1.083 MB / 3.037 GB, free: 153.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/4.419, allocations: 8 kB / 3.037 GB, free: 153.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/4.419, allocations: 0 / 3.037 GB, free: 153.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/4.419, allocations: 3.984 kB / 3.037 GB, free: 153.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/4.422, allocations: 1.977 MB / 3.038 GB, free: 152.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/4.422, allocations: 0 / 3.038 GB, free: 152.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00059/4.423, allocations: 159.2 kB / 3.039 GB, free: 152 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005322/4.423, allocations: 79.66 kB / 3.039 GB, free: 151.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.569e-05/4.423, allocations: 30.66 kB / 3.039 GB, free: 151.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/4.425, allocations: 1.565 MB / 3.04 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/4.425, allocations: 0 / 3.04 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/4.427, allocations: 0.9694 MB / 3.041 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005042/4.427, allocations: 294.8 kB / 3.041 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/4.427, allocations: 21.02 kB / 3.041 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006857/4.428, allocations: 70.53 kB / 3.042 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/4.428, allocations: 64.41 kB / 3.042 GB, free: 149.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/4.428, allocations: 31.17 kB / 3.042 GB, free: 149.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000698/4.429, allocations: 493.7 kB / 3.042 GB, free: 148.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/4.429, allocations: 0 / 3.042 GB, free: 148.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001451/4.43, allocations: 369.6 kB / 3.042 GB, free: 148.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004159/4.435, allocations: 2.513 MB / 3.045 GB, free: 146.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001483/4.436, allocations: 0.7668 MB / 3.046 GB, free: 145.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/4.436, allocations: 4 kB / 3.046 GB, free: 145.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007855/4.437, allocations: 0.4971 MB / 3.046 GB, free: 145.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/4.438, allocations: 235.8 kB / 3.046 GB, free: 145.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009688/4.448, allocations: 5.158 MB / 3.051 GB, free: 140.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006766/4.449, allocations: 1.032 MB / 3.052 GB, free: 139.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001046/4.45, allocations: 266.4 kB / 3.053 GB, free: 139.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006212/4.45, allocations: 368.3 kB / 3.053 GB, free: 139.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.553e-06/4.45, allocations: 0 / 3.053 GB, free: 139.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05595/4.506, allocations: 29.82 MB / 3.082 GB, free: 110 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/4.507, allocations: 285.1 kB / 3.082 GB, free: 109.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.354/7.86, allocations: 0 / 3.082 GB, free: 109.6 MB / 1.167 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) 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