Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001237/0.001237, allocations: 184.8 kB / 487.4 MB, free: 5.066 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.701/1.701, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008399/0.0008399, allocations: 91.86 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.254e-05/2.288e-05, allocations: 3.984 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2949, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.064/4.358, allocations: 1.73 GB / 2.936 GB, free: 153.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/4.359, allocations: 98.97 kB / 2.936 GB, free: 153.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1165/4.475, allocations: 58.48 MB / 2.993 GB, free: 95.05 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.172e-06/4.475, allocations: 7.938 kB / 2.993 GB, free: 95.04 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.697e-05/4.475, allocations: 20 kB / 2.993 GB, free: 95.02 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001452/4.477, allocations: 1.075 MB / 2.994 GB, free: 93.89 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/4.477, allocations: 8.562 kB / 2.994 GB, free: 93.89 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007756/4.478, allocations: 190.5 kB / 2.995 GB, free: 93.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000745/4.478, allocations: 0.6114 MB / 2.995 GB, free: 93.05 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/4.478, allocations: 24 kB / 2.995 GB, free: 93.02 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/4.479, allocations: 48 kB / 2.995 GB, free: 92.98 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001114/4.48, allocations: 0.9796 MB / 2.996 GB, free: 92 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009413/4.481, allocations: 0.7156 MB / 2.997 GB, free: 91.24 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/4.481, allocations: 7.922 kB / 2.997 GB, free: 91.23 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/4.481, allocations: 3.953 kB / 2.997 GB, free: 91.23 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/4.481, allocations: 20 kB / 2.997 GB, free: 91.21 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/4.483, allocations: 2.26 MB / 2.999 GB, free: 88.89 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007835/4.484, allocations: 0.7261 MB / 3 GB, free: 88.14 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/4.485, allocations: 239.2 kB / 3 GB, free: 87.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.07e-05/4.485, allocations: 44.73 kB / 3 GB, free: 87.86 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004589/4.485, allocations: 388.9 kB / 3 GB, free: 87.46 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 1.924e-06/4.485, allocations: 4 kB / 3 GB, free: 87.45 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001286/4.486, allocations: 0.6407 MB / 3.001 GB, free: 86.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/4.486, allocations: 244.1 kB / 3.001 GB, free: 86.51 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004793/4.487, allocations: 0.4944 MB / 3.002 GB, free: 86.01 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/4.487, allocations: 25.7 kB / 3.002 GB, free: 85.98 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/4.487, allocations: 380.2 kB / 3.002 GB, free: 85.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/4.487, allocations: 236.4 kB / 3.002 GB, free: 85.37 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/4.487, allocations: 4 kB / 3.002 GB, free: 85.36 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.632e-05/4.487, allocations: 374.8 kB / 3.003 GB, free: 84.99 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/4.488, allocations: 185.5 kB / 3.003 GB, free: 84.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/4.488, allocations: 288.4 kB / 3.003 GB, free: 84.49 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/4.488, allocations: 244.4 kB / 3.003 GB, free: 84.25 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/4.488, allocations: 0 / 3.003 GB, free: 84.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001144/4.489, allocations: 0.6408 MB / 3.004 GB, free: 83.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/4.489, allocations: 4 kB / 3.004 GB, free: 83.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/4.489, allocations: 4 kB / 3.004 GB, free: 83.59 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005206/4.49, allocations: 80.88 kB / 3.004 GB, free: 83.51 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/4.49, allocations: 143.8 kB / 3.004 GB, free: 83.37 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/4.492, allocations: 1.453 MB / 3.006 GB, free: 81.79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/4.492, allocations: 63.42 kB / 3.006 GB, free: 81.73 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/4.492, allocations: 27.98 kB / 3.006 GB, free: 81.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0001319/4.493, allocations: 116.9 kB / 3.006 GB, free: 81.58 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001126/4.494, allocations: 0.6485 MB / 3.007 GB, free: 80.92 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.891e-05/4.494, allocations: 67.16 kB / 3.007 GB, free: 80.85 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/4.495, allocations: 0.9184 MB / 3.007 GB, free: 79.92 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/4.495, allocations: 8 kB / 3.007 GB, free: 79.91 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/4.495, allocations: 3.938 kB / 3.007 GB, free: 79.91 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/4.495, allocations: 7.984 kB / 3.008 GB, free: 79.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/4.498, allocations: 1.691 MB / 3.009 GB, free: 78.16 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/4.498, allocations: 8 kB / 3.009 GB, free: 78.15 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/4.498, allocations: 151.8 kB / 3.009 GB, free: 78 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004356/4.499, allocations: 80.78 kB / 3.009 GB, free: 77.92 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/4.499, allocations: 15.98 kB / 3.009 GB, free: 77.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/4.5, allocations: 1.481 MB / 3.011 GB, free: 76.31 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/4.5, allocations: 64 / 3.011 GB, free: 76.31 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/4.501, allocations: 0.826 MB / 3.012 GB, free: 75.46 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/4.501, allocations: 279.8 kB / 3.012 GB, free: 75.17 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.184e-05/4.501, allocations: 4 kB / 3.012 GB, free: 75.17 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/4.502, allocations: 47.95 kB / 3.012 GB, free: 75.12 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/4.502, allocations: 64.64 kB / 3.012 GB, free: 75.05 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/4.502, allocations: 31.98 kB / 3.012 GB, free: 75.02 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003499/4.502, allocations: 406.9 kB / 3.012 GB, free: 74.63 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/4.502, allocations: 0 / 3.012 GB, free: 74.63 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009017/4.503, allocations: 327 kB / 3.013 GB, free: 74.31 MB / 1.151 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.002707/4.506, allocations: 2.353 MB / 3.015 GB, free: 72.05 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009292/4.507, allocations: 0.6476 MB / 3.016 GB, free: 71.39 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/4.507, allocations: 4 kB / 3.016 GB, free: 71.39 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005475/4.508, allocations: 448.7 kB / 3.016 GB, free: 70.94 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009215/4.508, allocations: 214.3 kB / 3.016 GB, free: 70.73 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/4.511, allocations: 1.484 MB / 3.018 GB, free: 69.21 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/4.512, allocations: 1.019 MB / 3.019 GB, free: 68.16 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006747/4.512, allocations: 257.7 kB / 3.019 GB, free: 67.91 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/4.513, allocations: 347.3 kB / 3.019 GB, free: 67.57 MB / 1.151 GB Notification: Performance of SimCode: time 2.91e-07/4.513, allocations: 0 / 3.019 GB, free: 67.57 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1688/4.682, allocations: 23.04 MB / 3.042 GB, free: 44.67 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/4.682, allocations: 206.9 kB / 3.042 GB, free: 44.38 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.047/7.729, allocations: 3.938 kB / 3.042 GB, free: 44.38 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat does not exist to compare? outputFormat=mat