Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.217/2.217, 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.001207/0.001207, allocations: 184.8 kB / 487.4 MB, free: 5.07 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.623/1.623, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 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.0009256/0.0009256, allocations: 98.47 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.114e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3036, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.741/5.045, allocations: 1.73 GB / 2.936 GB, free: 127.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/5.045, allocations: 89.58 kB / 2.936 GB, free: 127.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1195/5.165, allocations: 57.78 MB / 2.992 GB, free: 75.75 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.405e-06/5.165, allocations: 0 / 2.992 GB, free: 75.75 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001014/5.165, allocations: 23.94 kB / 2.992 GB, free: 75.72 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001697/5.167, allocations: 1.044 MB / 2.993 GB, free: 74.63 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/5.167, allocations: 8.031 kB / 2.993 GB, free: 74.62 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008232/5.167, allocations: 194.5 kB / 2.994 GB, free: 74.43 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008263/5.168, allocations: 0.6075 MB / 2.994 GB, free: 73.79 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/5.168, allocations: 28 kB / 2.994 GB, free: 73.76 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/5.168, allocations: 44 kB / 2.994 GB, free: 73.71 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001168/5.17, allocations: 0.9601 MB / 2.995 GB, free: 72.75 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/5.171, allocations: 0.7037 MB / 2.996 GB, free: 72.01 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/5.171, allocations: 0 / 2.996 GB, free: 72.01 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.096e-05/5.171, allocations: 3.953 kB / 2.996 GB, free: 72 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/5.171, allocations: 20 kB / 2.996 GB, free: 71.98 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00293/5.174, allocations: 2.216 MB / 2.998 GB, free: 69.71 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008607/5.175, allocations: 0.7063 MB / 2.999 GB, free: 68.97 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/5.175, allocations: 226.5 kB / 2.999 GB, free: 68.75 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.166e-05/5.175, allocations: 36.53 kB / 2.999 GB, free: 68.71 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004934/5.175, allocations: 380.7 kB / 2.999 GB, free: 68.32 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 1.893e-06/5.175, allocations: 0 / 2.999 GB, free: 68.32 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001384/5.177, allocations: 0.625 MB / 3 GB, free: 67.69 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/5.177, allocations: 239.9 kB / 3 GB, free: 67.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000513/5.177, allocations: 498.2 kB / 3.001 GB, free: 66.91 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/5.177, allocations: 29.7 kB / 3.001 GB, free: 66.87 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/5.178, allocations: 368.2 kB / 3.001 GB, free: 66.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/5.178, allocations: 220.6 kB / 3.001 GB, free: 66.29 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/5.178, allocations: 0 / 3.001 GB, free: 66.29 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.703e-05/5.178, allocations: 382.8 kB / 3.002 GB, free: 65.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/5.178, allocations: 181.5 kB / 3.002 GB, free: 65.72 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/5.178, allocations: 275.5 kB / 3.002 GB, free: 65.42 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/5.179, allocations: 228.4 kB / 3.002 GB, free: 65.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/5.179, allocations: 4 kB / 3.002 GB, free: 65.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001178/5.18, allocations: 0.6175 MB / 3.003 GB, free: 64.57 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/5.18, allocations: 8 kB / 3.003 GB, free: 64.56 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/5.18, allocations: 3.953 kB / 3.003 GB, free: 64.56 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005511/5.181, allocations: 84.77 kB / 3.003 GB, free: 64.47 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/5.181, allocations: 131.8 kB / 3.003 GB, free: 64.34 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/5.183, allocations: 1.454 MB / 3.005 GB, free: 62.77 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/5.183, allocations: 59.59 kB / 3.005 GB, free: 62.71 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.251e-05/5.183, allocations: 27.98 kB / 3.005 GB, free: 62.68 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: 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 (72): * Single equations (assignments): 71 * 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.0001742/5.183, allocations: 116.9 kB / 3.005 GB, free: 62.56 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001256/5.185, allocations: 0.6278 MB / 3.005 GB, free: 61.92 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/5.185, allocations: 67.16 kB / 3.005 GB, free: 61.86 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/5.186, allocations: 0.8674 MB / 3.006 GB, free: 60.97 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/5.187, allocations: 8 kB / 3.006 GB, free: 60.96 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/5.187, allocations: 4 kB / 3.006 GB, free: 60.96 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/5.187, allocations: 7.938 kB / 3.006 GB, free: 60.95 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/5.189, allocations: 1.648 MB / 3.008 GB, free: 59.26 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/5.189, allocations: 3.938 kB / 3.008 GB, free: 59.25 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/5.19, allocations: 139.7 kB / 3.008 GB, free: 59.12 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/5.19, allocations: 80.78 kB / 3.008 GB, free: 59.04 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/5.19, allocations: 15.98 kB / 3.008 GB, free: 59.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/5.191, allocations: 1.481 MB / 3.01 GB, free: 57.41 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/5.191, allocations: 0 / 3.01 GB, free: 57.41 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/5.193, allocations: 0.7948 MB / 3.01 GB, free: 56.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/5.193, allocations: 271.8 kB / 3.011 GB, free: 56.31 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.008e-05/5.193, allocations: 4 kB / 3.011 GB, free: 56.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005083/5.194, allocations: 55.94 kB / 3.011 GB, free: 56.25 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/5.194, allocations: 52.7 kB / 3.011 GB, free: 56.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/5.194, allocations: 32.12 kB / 3.011 GB, free: 56.17 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003993/5.194, allocations: 394.9 kB / 3.011 GB, free: 55.79 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.194, allocations: 0 / 3.011 GB, free: 55.79 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001025/5.195, allocations: 323.1 kB / 3.011 GB, free: 55.47 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 (81): * Single equations (assignments): 78 * 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.003072/5.198, allocations: 2.325 MB / 3.014 GB, free: 53.23 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00102/5.199, allocations: 0.6199 MB / 3.014 GB, free: 52.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/5.199, allocations: 8.062 kB / 3.014 GB, free: 52.59 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005518/5.2, allocations: 432.5 kB / 3.015 GB, free: 52.16 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/5.201, allocations: 223.6 kB / 3.015 GB, free: 51.96 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003203/5.204, allocations: 1.443 MB / 3.016 GB, free: 50.47 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/5.205, allocations: 1.007 MB / 3.017 GB, free: 49.43 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007683/5.205, allocations: 249.7 kB / 3.018 GB, free: 49.19 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/5.206, allocations: 331.3 kB / 3.018 GB, free: 48.86 MB / 1.151 GB Notification: Performance of SimCode: time 4.81e-07/5.206, allocations: 0 / 3.018 GB, free: 48.86 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04415/5.25, allocations: 22.65 MB / 3.04 GB, free: 26.35 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/5.25, allocations: 200.1 kB / 3.04 GB, free: 26.07 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.837/8.088, allocations: 4 kB / 3.04 GB, free: 26.06 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat does not exist to compare? outputFormat=mat