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.276/2.276, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001373/0.001373, allocations: 187.2 kB / 498.1 MB, free: 5.676 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.505/1.505, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.0008841/0.000884, allocations: 111.8 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003306, allocations: 15.36 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2526, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.817/4.07, allocations: 1.731 GB / 2.953 GB, free: 288.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/4.07, allocations: 96.78 kB / 2.954 GB, free: 288.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1226/4.193, allocations: 58.91 MB / 3.011 GB, free: 229.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.813e-06/4.193, allocations: 4 kB / 3.011 GB, free: 229.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.29e-05/4.193, allocations: 20 kB / 3.011 GB, free: 229.3 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002351/4.195, allocations: 1.168 MB / 3.012 GB, free: 228 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/4.196, allocations: 8.031 kB / 3.012 GB, free: 228 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002268/4.196, allocations: 130.8 kB / 3.012 GB, free: 227.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009103/4.197, allocations: 182.6 kB / 3.013 GB, free: 227.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/4.198, allocations: 0.6036 MB / 3.013 GB, free: 227.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/4.198, allocations: 58 kB / 3.013 GB, free: 227 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.741e-05/4.198, allocations: 72 kB / 3.013 GB, free: 226.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/4.199, allocations: 0.8481 MB / 3.014 GB, free: 226.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/4.199, allocations: 0 / 3.014 GB, free: 226.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.179e-05/4.199, allocations: 35.95 kB / 3.014 GB, free: 226 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/4.199, allocations: 16 kB / 3.014 GB, free: 226 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/4.201, allocations: 1.05 MB / 3.015 GB, free: 225 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003427/4.204, allocations: 2.368 MB / 3.017 GB, free: 222.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/4.205, allocations: 0.8055 MB / 3.018 GB, free: 221.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.407e-05/4.206, allocations: 28.58 kB / 3.018 GB, free: 221.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006018/4.206, allocations: 422.8 kB / 3.019 GB, free: 221.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 2.985e-06/4.206, allocations: 0 / 3.019 GB, free: 221.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.002591/4.209, allocations: 1.067 MB / 3.02 GB, free: 220.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.909e-05/4.209, allocations: 239.9 kB / 3.02 GB, free: 219.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006722/4.21, allocations: 0.5813 MB / 3.021 GB, free: 219.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/4.21, allocations: 45.7 kB / 3.021 GB, free: 219.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/4.21, allocations: 360.4 kB / 3.021 GB, free: 218.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/4.21, allocations: 232.6 kB / 3.021 GB, free: 218.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/4.21, allocations: 8 kB / 3.021 GB, free: 218.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.987e-05/4.21, allocations: 382.8 kB / 3.022 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/4.21, allocations: 205.2 kB / 3.022 GB, free: 218 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/4.211, allocations: 323.6 kB / 3.022 GB, free: 217.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/4.211, allocations: 259.1 kB / 3.022 GB, free: 217.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/4.211, allocations: 0 / 3.022 GB, free: 217.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001505/4.213, allocations: 0.708 MB / 3.023 GB, free: 216.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/4.213, allocations: 5.719 kB / 3.023 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/4.213, allocations: 0 / 3.023 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006608/4.214, allocations: 88.83 kB / 3.023 GB, free: 216.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005159/4.214, allocations: 131.7 kB / 3.023 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/4.216, allocations: 1.528 MB / 3.025 GB, free: 214.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005679/4.216, allocations: 79.45 kB / 3.025 GB, free: 214.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.795e-05/4.216, allocations: 31.98 kB / 3.025 GB, free: 214.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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked 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.0003446/4.217, allocations: 241.7 kB / 3.025 GB, free: 214.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/4.217, allocations: 79.02 kB / 3.025 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/4.219, allocations: 0.9741 MB / 3.026 GB, free: 213.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/4.219, allocations: 15.98 kB / 3.026 GB, free: 213.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/4.219, allocations: 4 kB / 3.026 GB, free: 213.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/4.219, allocations: 3.984 kB / 3.026 GB, free: 213.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/4.222, allocations: 1.853 MB / 3.028 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/4.222, allocations: 7.938 kB / 3.028 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/4.222, allocations: 131.8 kB / 3.028 GB, free: 211.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000495/4.223, allocations: 88.77 kB / 3.028 GB, free: 211.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/4.223, allocations: 19.98 kB / 3.028 GB, free: 211.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/4.224, allocations: 1.559 MB / 3.03 GB, free: 209.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/4.224, allocations: 0 / 3.03 GB, free: 209.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/4.226, allocations: 0.8984 MB / 3.031 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/4.226, allocations: 279.8 kB / 3.031 GB, free: 208.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/4.226, allocations: 16 kB / 3.031 GB, free: 208.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005597/4.227, allocations: 63.95 kB / 3.031 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/4.227, allocations: 68.84 kB / 3.031 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.012e-05/4.227, allocations: 23.98 kB / 3.031 GB, free: 208.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005081/4.227, allocations: 479 kB / 3.031 GB, free: 207.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.2e-07/4.228, allocations: 0 / 3.031 GB, free: 207.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001011/4.229, allocations: 347.2 kB / 3.032 GB, free: 207.3 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 (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.003287/4.232, allocations: 2.415 MB / 3.034 GB, free: 205.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001217/4.233, allocations: 0.7043 MB / 3.035 GB, free: 204.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/4.233, allocations: 4.125 kB / 3.035 GB, free: 204.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006726/4.234, allocations: 484.3 kB / 3.035 GB, free: 203.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009153/4.235, allocations: 232.3 kB / 3.035 GB, free: 203.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007139/4.242, allocations: 4.899 MB / 3.04 GB, free: 198.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/4.242, allocations: 1.007 MB / 3.041 GB, free: 197.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007519/4.243, allocations: 261.9 kB / 3.041 GB, free: 197.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/4.243, allocations: 339.3 kB / 3.042 GB, free: 197.1 MB / 1.167 GB Notification: Performance of SimCode: time 6.61e-07/4.243, allocations: 0 / 3.042 GB, free: 197.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04335/4.287, allocations: 28.8 MB / 3.07 GB, free: 168.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/4.287, allocations: 280.9 kB / 3.07 GB, free: 168.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.17/7.457, allocations: 4.516 kB / 3.07 GB, free: 168.3 MB / 1.167 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