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.001078/0.001078, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001347/0.001347, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.496/2.496, allocations: 409.4 MB / 0.684 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003353, allocations: 8 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6585/0.6589, allocations: 146.8 MB / 0.9811 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004295/0.6632, allocations: 3.684 MB / 0.9847 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.148/0.8113, allocations: 136.7 MB / 1.118 GB, free: 9.395 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009104/0.8122, allocations: 19.88 kB / 1.118 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006289/0.8129, allocations: 123 kB / 1.118 GB, free: 9.254 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.8144, allocations: 420.6 kB / 1.119 GB, free: 8.844 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.8164, allocations: 0.6193 MB / 1.119 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001458/0.8178, allocations: 1.105 MB / 1.12 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008036/0.8186, allocations: 471.2 kB / 1.121 GB, free: 6.648 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005656/0.8192, allocations: 318.6 kB / 1.121 GB, free: 6.336 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006018/0.8198, allocations: 354.2 kB / 1.122 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.82, allocations: 24 kB / 1.122 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009225/0.821, allocations: 339.6 kB / 1.122 GB, free: 5.633 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003085/0.8213, allocations: 175.2 kB / 1.122 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003269/0.8216, allocations: 193.1 kB / 1.122 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.8232, allocations: 1.142 MB / 1.123 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8232, allocations: 0 / 1.123 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8233, allocations: 0 / 1.123 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.852e-05/0.8233, allocations: 0 / 1.123 GB, free: 4.121 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.002473/0.8258, allocations: 1.212 MB / 1.125 GB, free: 2.859 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.8258, allocations: 12.03 kB / 1.125 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000274/0.8261, allocations: 131.1 kB / 1.125 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009757/0.8271, allocations: 190.5 kB / 1.125 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.8283, allocations: 0.6992 MB / 1.126 GB, free: 1.781 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.458e-05/0.8283, allocations: 73.89 kB / 1.126 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.8285, allocations: 79.98 kB / 1.126 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.83, allocations: 0.8989 MB / 1.127 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.83, allocations: 0 / 1.127 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.738e-05/0.8301, allocations: 32 kB / 1.127 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.8301, allocations: 20 kB / 1.127 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.8318, allocations: 1.1 MB / 1.128 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/0.8354, allocations: 2.513 MB / 1.13 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.8368, allocations: 0.8561 MB / 1.131 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004846/0.8373, allocations: 302.7 kB / 1.131 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.19e-05/0.8373, allocations: 28.61 kB / 1.131 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007702/0.8381, allocations: 499 kB / 1.132 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=79): time 2.505e-06/0.8381, allocations: 3.938 kB / 1.132 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of matching and sorting (n=79): time 0.002686/0.8408, allocations: 1.191 MB / 1.133 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.719e-05/0.8409, allocations: 192.5 kB / 1.133 GB, free: 9.793 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007166/0.8416, allocations: 0.6136 MB / 1.134 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.8417, allocations: 45.7 kB / 1.134 GB, free: 9.121 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.842, allocations: 388.3 kB / 1.134 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.8422, allocations: 252.3 kB / 1.134 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.8422, allocations: 19.94 kB / 1.134 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.8424, allocations: 386.8 kB / 1.135 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000461/0.8429, allocations: 241.9 kB / 1.135 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005211/0.8434, allocations: 350.6 kB / 1.135 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.8439, allocations: 286.8 kB / 1.136 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.8439, allocations: 4 kB / 1.136 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001601/0.8455, allocations: 0.7863 MB / 1.136 GB, free: 6.391 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.8455, allocations: 8.781 kB / 1.136 GB, free: 6.383 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.8456, allocations: 0 / 1.136 GB, free: 6.383 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005173/0.8461, allocations: 92.75 kB / 1.137 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.8467, allocations: 147.8 kB / 1.137 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.8485, allocations: 1.524 MB / 1.138 GB, free: 4.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/0.8491, allocations: 98.02 kB / 1.138 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-05/0.8492, allocations: 27.98 kB / 1.138 GB, free: 4.359 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.0003974/0.8496, allocations: 265.9 kB / 1.139 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.8498, allocations: 82.97 kB / 1.139 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/0.852, allocations: 1.061 MB / 1.14 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.852, allocations: 12 kB / 1.14 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.852, allocations: 0 / 1.14 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.852, allocations: 11.97 kB / 1.14 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.8549, allocations: 1.907 MB / 1.142 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.8549, allocations: 0 / 1.142 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005325/0.8555, allocations: 143.8 kB / 1.142 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004354/0.8559, allocations: 80.78 kB / 1.142 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-05/0.856, allocations: 27.97 kB / 1.142 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.8576, allocations: 1.559 MB / 1.143 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8576, allocations: 0 / 1.143 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.8593, allocations: 0.9843 MB / 1.144 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/0.8597, allocations: 283.7 kB / 1.145 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.8599, allocations: 23.98 kB / 1.145 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006039/0.8605, allocations: 75.94 kB / 1.145 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.8606, allocations: 68.89 kB / 1.145 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.569e-05/0.8607, allocations: 43.92 kB / 1.145 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005405/0.8612, allocations: 447 kB / 1.145 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8612, allocations: 0 / 1.145 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008503/0.8621, allocations: 303.2 kB / 1.145 GB, free: 12.75 MB / 0.9044 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.003279/0.8654, allocations: 2.025 MB / 1.147 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.8669, allocations: 0.7923 MB / 1.148 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.8669, allocations: 0 / 1.148 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008542/0.8678, allocations: 0.5003 MB / 1.149 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.869, allocations: 254.6 kB / 1.149 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009989/0.879, allocations: 5.013 MB / 1.154 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007302/0.8797, allocations: 1.016 MB / 1.155 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009281/0.8807, allocations: 262.6 kB / 1.155 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005681/0.8813, allocations: 371.3 kB / 1.155 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of SimCode: time 1.022e-06/0.8813, allocations: 0 / 1.155 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4205/1.302, allocations: 20.85 MB / 1.176 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/1.302, allocations: 291 kB / 1.176 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/3.847, allocations: 2.578 kB / 1.176 GB, free: 13.78 MB / 0.9356 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