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.417/2.417, allocations: 390.5 MB / 398 MB, free: 10.98 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.001136/0.001136, allocations: 176.3 kB / 491.2 MB, free: 1.629 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: 221.5 MB / 0.7868 GB, free: 13.33 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.001134/0.001134, allocations: 87.89 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.341e-05/2.343e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3466, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.412/5.759, allocations: 1.732 GB / 2.944 GB, free: 144.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/5.759, allocations: 99.94 kB / 2.944 GB, free: 144.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1264/5.886, allocations: 59.3 MB / 3.002 GB, free: 85.19 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.154e-06/5.886, allocations: 0 / 3.002 GB, free: 85.19 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.861e-05/5.886, allocations: 24 kB / 3.002 GB, free: 85.17 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.001759/5.888, allocations: 1.096 MB / 3.003 GB, free: 84.02 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/5.888, allocations: 16.03 kB / 3.003 GB, free: 84.01 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000811/5.889, allocations: 178.6 kB / 3.003 GB, free: 83.83 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008183/5.889, allocations: 0.623 MB / 3.004 GB, free: 83.17 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/5.889, allocations: 28 kB / 3.004 GB, free: 83.14 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.12e-05/5.89, allocations: 48 kB / 3.004 GB, free: 83.09 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001222/5.891, allocations: 1.007 MB / 3.005 GB, free: 82.09 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/5.892, allocations: 0.7544 MB / 3.006 GB, free: 81.29 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/5.892, allocations: 3.953 kB / 3.006 GB, free: 81.29 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/5.892, allocations: 4 kB / 3.006 GB, free: 81.29 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/5.892, allocations: 23.98 kB / 3.006 GB, free: 81.26 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/5.895, allocations: 2.4 MB / 3.008 GB, free: 78.81 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/5.896, allocations: 0.7931 MB / 3.009 GB, free: 77.98 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/5.897, allocations: 255.2 kB / 3.009 GB, free: 77.73 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.601e-05/5.897, allocations: 28.73 kB / 3.009 GB, free: 77.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005067/5.897, allocations: 407.7 kB / 3.009 GB, free: 77.28 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 2.364e-06/5.897, allocations: 0 / 3.009 GB, free: 77.28 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001494/5.899, allocations: 0.6797 MB / 3.01 GB, free: 76.59 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.667e-05/5.899, allocations: 240.1 kB / 3.01 GB, free: 76.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005335/5.899, allocations: 0.4984 MB / 3.011 GB, free: 75.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/5.899, allocations: 29.7 kB / 3.011 GB, free: 75.76 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/5.9, allocations: 384.2 kB / 3.011 GB, free: 75.38 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/5.9, allocations: 240.3 kB / 3.011 GB, free: 75.14 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/5.9, allocations: 0 / 3.011 GB, free: 75.14 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.703e-05/5.9, allocations: 374.8 kB / 3.012 GB, free: 74.77 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/5.9, allocations: 201.5 kB / 3.012 GB, free: 74.57 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/5.901, allocations: 299.5 kB / 3.012 GB, free: 74.25 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/5.901, allocations: 252.4 kB / 3.013 GB, free: 74 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/5.901, allocations: 0 / 3.013 GB, free: 74 MB / 1.151 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001285/5.902, allocations: 0.6837 MB / 3.013 GB, free: 73.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/5.902, allocations: 4 kB / 3.013 GB, free: 73.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/5.902, allocations: 4 kB / 3.013 GB, free: 73.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005637/5.903, allocations: 84.84 kB / 3.013 GB, free: 73.21 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/5.903, allocations: 147.8 kB / 3.013 GB, free: 73.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/5.905, allocations: 1.453 MB / 3.015 GB, free: 71.49 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005356/5.905, allocations: 67.52 kB / 3.015 GB, free: 71.42 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/5.906, allocations: 32.05 kB / 3.015 GB, free: 71.39 MB / 1.151 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 () * 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.0001494/5.906, allocations: 124.8 kB / 3.015 GB, free: 71.26 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001324/5.907, allocations: 0.6836 MB / 3.016 GB, free: 70.57 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.837e-05/5.907, allocations: 71.16 kB / 3.016 GB, free: 70.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/5.909, allocations: 0.9656 MB / 3.017 GB, free: 69.52 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/5.909, allocations: 8 kB / 3.017 GB, free: 69.51 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/5.909, allocations: 0 / 3.017 GB, free: 69.51 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/5.909, allocations: 3.984 kB / 3.017 GB, free: 69.51 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/5.912, allocations: 1.761 MB / 3.018 GB, free: 67.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/5.912, allocations: 0 / 3.018 GB, free: 67.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005574/5.912, allocations: 159.8 kB / 3.019 GB, free: 67.54 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004597/5.913, allocations: 84.77 kB / 3.019 GB, free: 67.45 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/5.913, allocations: 19.97 kB / 3.019 GB, free: 67.43 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/5.914, allocations: 1.48 MB / 3.02 GB, free: 65.83 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/5.914, allocations: 3.953 kB / 3.02 GB, free: 65.83 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/5.916, allocations: 0.8651 MB / 3.021 GB, free: 64.95 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000361/5.916, allocations: 283.8 kB / 3.021 GB, free: 64.65 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/5.916, allocations: 3.953 kB / 3.021 GB, free: 64.64 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005387/5.917, allocations: 55.94 kB / 3.021 GB, free: 64.59 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/5.917, allocations: 64.69 kB / 3.021 GB, free: 64.53 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/5.917, allocations: 35.92 kB / 3.021 GB, free: 64.49 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000435/5.917, allocations: 402.9 kB / 3.022 GB, free: 64.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/5.917, allocations: 0 / 3.022 GB, free: 64.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00112/5.918, allocations: 350.9 kB / 3.022 GB, free: 63.76 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 (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.003355/5.922, allocations: 2.418 MB / 3.025 GB, free: 61.43 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00112/5.923, allocations: 0.6707 MB / 3.025 GB, free: 60.74 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/5.923, allocations: 0 / 3.025 GB, free: 60.74 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000602/5.924, allocations: 484.5 kB / 3.026 GB, free: 60.26 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/5.925, allocations: 217 kB / 3.026 GB, free: 60.05 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/5.928, allocations: 1.521 MB / 3.027 GB, free: 58.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/5.928, allocations: 1.027 MB / 3.028 GB, free: 57.43 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007547/5.929, allocations: 261.9 kB / 3.029 GB, free: 57.18 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004112/5.93, allocations: 363.3 kB / 3.029 GB, free: 56.82 MB / 1.151 GB Notification: Performance of SimCode: time 4.51e-07/5.93, allocations: 0 / 3.029 GB, free: 56.82 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04665/5.976, allocations: 23.62 MB / 3.052 GB, free: 33.33 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/5.976, allocations: 215.6 kB / 3.052 GB, free: 33.04 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/8.642, allocations: 3 kB / 3.052 GB, free: 33.04 MB / 1.151 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