Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001571/0.001572, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.318/2.318, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.897/3.897, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.0004162, allocations: 12 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175/1.176, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00621/1.182, allocations: 3.591 MB / 0.9844 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2533/1.435, allocations: 127.5 MB / 1.109 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/1.437, allocations: 11.94 kB / 1.109 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006285/1.438, allocations: 75.28 kB / 1.109 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003487/1.441, allocations: 496.4 kB / 1.109 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003664/1.445, allocations: 0.6141 MB / 1.11 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00262/1.447, allocations: 0.8026 MB / 1.111 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/1.449, allocations: 471.1 kB / 1.111 GB, free: 392 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/1.45, allocations: 326.6 kB / 1.112 GB, free: 64 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/1.451, allocations: 322.5 kB / 1.112 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002502/1.451, allocations: 24 kB / 1.112 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/1.453, allocations: 319.5 kB / 1.112 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003485/1.453, allocations: 175.2 kB / 1.112 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004994/1.454, allocations: 193.1 kB / 1.113 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002694/1.456, allocations: 1.138 MB / 1.114 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/1.456, allocations: 0 / 1.114 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of FrontEnd: time 5.68e-06/1.456, allocations: 0 / 1.114 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.643e-05/1.456, allocations: 0 / 1.114 GB, free: 13.9 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.00452/1.461, allocations: 1.212 MB / 1.115 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.719e-05/1.461, allocations: 11.97 kB / 1.115 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005803/1.462, allocations: 131.1 kB / 1.115 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/1.464, allocations: 194.5 kB / 1.115 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002856/1.466, allocations: 0.7031 MB / 1.116 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/1.467, allocations: 61.95 kB / 1.116 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/1.467, allocations: 87.94 kB / 1.116 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003323/1.47, allocations: 0.8911 MB / 1.117 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/1.47, allocations: 4 kB / 1.117 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001855/1.47, allocations: 32 kB / 1.117 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.364e-05/1.471, allocations: 20 kB / 1.117 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003194/1.474, allocations: 1.097 MB / 1.118 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006297/1.48, allocations: 2.509 MB / 1.12 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/1.483, allocations: 0.8678 MB / 1.121 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/1.483, allocations: 32.59 kB / 1.121 GB, free: 5.824 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001537/1.485, allocations: 499 kB / 1.122 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 3.636e-06/1.485, allocations: 0 / 1.122 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.005419/1.49, allocations: 1.184 MB / 1.123 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001738/1.49, allocations: 192.6 kB / 1.123 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/1.492, allocations: 0.6059 MB / 1.124 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001957/1.493, allocations: 45.7 kB / 1.124 GB, free: 3.215 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006989/1.493, allocations: 388.3 kB / 1.124 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005337/1.494, allocations: 256.3 kB / 1.124 GB, free: 2.574 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/1.494, allocations: 16 kB / 1.124 GB, free: 2.559 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003851/1.494, allocations: 390.7 kB / 1.125 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/1.496, allocations: 245.8 kB / 1.125 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/1.497, allocations: 350.6 kB / 1.125 GB, free: 1.559 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/1.498, allocations: 286.9 kB / 1.126 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/1.498, allocations: 0 / 1.126 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003615/1.502, allocations: 0.7941 MB / 1.126 GB, free: 484 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/1.502, allocations: 4 kB / 1.126 GB, free: 480 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/1.502, allocations: 0 / 1.126 GB, free: 480 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00097/1.503, allocations: 84.81 kB / 1.127 GB, free: 392 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/1.504, allocations: 155.7 kB / 1.127 GB, free: 236 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004048/1.508, allocations: 1.54 MB / 1.128 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/1.51, allocations: 98.31 kB / 1.128 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/1.51, allocations: 27.98 kB / 1.128 GB, free: 14.43 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.001068/1.511, allocations: 261.7 kB / 1.129 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004328/1.511, allocations: 82.97 kB / 1.129 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004743/1.516, allocations: 1.061 MB / 1.13 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/1.516, allocations: 8 kB / 1.13 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.516, allocations: 0 / 1.13 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/1.516, allocations: 7.984 kB / 1.13 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007016/1.523, allocations: 1.914 MB / 1.132 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/1.523, allocations: 0 / 1.132 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/1.524, allocations: 139.8 kB / 1.132 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008706/1.525, allocations: 92.7 kB / 1.132 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/1.525, allocations: 23.98 kB / 1.132 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003103/1.528, allocations: 1.567 MB / 1.133 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.528, allocations: 0 / 1.133 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003669/1.532, allocations: 0.9805 MB / 1.134 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008886/1.533, allocations: 283.7 kB / 1.135 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003055/1.533, allocations: 19.98 kB / 1.135 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.535, allocations: 75.94 kB / 1.135 GB, free: 7.66 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/1.535, allocations: 76.89 kB / 1.135 GB, free: 7.586 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/1.535, allocations: 31.98 kB / 1.135 GB, free: 7.555 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001116/1.536, allocations: 451 kB / 1.135 GB, free: 7.121 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.31e-07/1.536, allocations: 3.938 kB / 1.135 GB, free: 7.117 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001707/1.538, allocations: 303.2 kB / 1.135 GB, free: 6.82 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.006163/1.544, allocations: 2.033 MB / 1.137 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002538/1.547, allocations: 0.7885 MB / 1.138 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.952e-05/1.547, allocations: 0 / 1.138 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/1.548, allocations: 0.5042 MB / 1.139 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/1.55, allocations: 246.1 kB / 1.139 GB, free: 3.395 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01545/1.565, allocations: 5.409 MB / 1.144 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/1.567, allocations: 1.037 MB / 1.145 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001283/1.568, allocations: 266.5 kB / 1.145 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007472/1.569, allocations: 379.3 kB / 1.146 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of SimCode: time 1.773e-06/1.569, allocations: 0 / 1.146 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06903/1.638, allocations: 20.83 MB / 1.166 GB, free: 7.789 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005114/1.639, allocations: 291.1 kB / 1.166 GB, free: 7.434 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.084/5.723, allocations: 0 / 1.166 GB, free: 7.434 MB / 0.92 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat does not exist to compare? outputFormat=mat