Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.0009568/0.0009567, allocations: 91.61 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.001214/0.001214, 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.382/1.382, 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.547/2.547, allocations: 409.4 MB / 0.684 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003817, allocations: 8 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.856/0.8564, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004901/0.8613, allocations: 3.793 MB / 0.9848 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.158/1.019, allocations: 136.8 MB / 1.118 GB, free: 9.215 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008163/1.02, allocations: 15.94 kB / 1.118 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005072/1.021, allocations: 126.9 kB / 1.119 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/1.022, allocations: 424.4 kB / 1.119 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/1.024, allocations: 0.6561 MB / 1.12 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001175/1.025, allocations: 1.148 MB / 1.121 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007749/1.026, allocations: 0.5424 MB / 1.121 GB, free: 6.297 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005775/1.027, allocations: 346.3 kB / 1.122 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004596/1.027, allocations: 374 kB / 1.122 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.371e-05/1.027, allocations: 28 kB / 1.122 GB, free: 5.562 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008408/1.028, allocations: 351.7 kB / 1.122 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001979/1.028, allocations: 195.1 kB / 1.123 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001841/1.028, allocations: 205.1 kB / 1.123 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/1.03, allocations: 1.239 MB / 1.124 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.03, allocations: 0 / 1.124 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.134e-06/1.03, allocations: 0 / 1.124 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.225e-05/1.03, allocations: 0 / 1.124 GB, free: 3.578 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.00226/1.032, allocations: 1.27 MB / 1.125 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/1.032, allocations: 8.031 kB / 1.125 GB, free: 2.254 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/1.032, allocations: 148 kB / 1.125 GB, free: 2.102 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/1.033, allocations: 230.3 kB / 1.126 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/1.034, allocations: 0.7264 MB / 1.126 GB, free: 1.105 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.98e-05/1.034, allocations: 77.89 kB / 1.126 GB, free: 1.031 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/1.034, allocations: 92 kB / 1.126 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/1.036, allocations: 1.016 MB / 1.127 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/1.036, allocations: 0 / 1.127 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.661e-05/1.036, allocations: 40 kB / 1.127 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/1.036, allocations: 24 kB / 1.127 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/1.038, allocations: 1.179 MB / 1.129 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004071/1.042, allocations: 2.73 MB / 1.131 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/1.044, allocations: 0.9124 MB / 1.132 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005397/1.044, allocations: 314.7 kB / 1.132 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005948/1.045, allocations: 478.1 kB / 1.133 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008925/1.046, allocations: 0.4952 MB / 1.133 GB, free: 9.523 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 2.254e-06/1.046, allocations: 4 kB / 1.133 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of matching and sorting (n=82): time 0.003179/1.049, allocations: 1.225 MB / 1.135 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/1.049, allocations: 200.5 kB / 1.135 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009167/1.05, allocations: 0.6371 MB / 1.135 GB, free: 7.383 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/1.05, allocations: 41.7 kB / 1.135 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/1.051, allocations: 428.2 kB / 1.136 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/1.051, allocations: 268.1 kB / 1.136 GB, free: 6.645 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/1.051, allocations: 16 kB / 1.136 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002108/1.051, allocations: 382.8 kB / 1.137 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/1.052, allocations: 257.8 kB / 1.137 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/1.052, allocations: 374.5 kB / 1.137 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000579/1.053, allocations: 302.9 kB / 1.137 GB, free: 5.309 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.053, allocations: 0 / 1.137 GB, free: 5.309 MB / 0.8887 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001885/1.055, allocations: 0.8252 MB / 1.138 GB, free: 4.469 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/1.055, allocations: 9.25 kB / 1.138 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.055, allocations: 0 / 1.138 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005678/1.055, allocations: 84.86 kB / 1.138 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006507/1.056, allocations: 159.7 kB / 1.138 GB, free: 4.219 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/1.058, allocations: 1.52 MB / 1.14 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007045/1.059, allocations: 104.9 kB / 1.14 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/1.059, allocations: 36.05 kB / 1.14 GB, free: 2.426 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 (88): * Single equations (assignments): 87 * 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.0005671/1.059, allocations: 269.6 kB / 1.14 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/1.06, allocations: 82.97 kB / 1.14 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/1.062, allocations: 1.108 MB / 1.142 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/1.062, allocations: 12 kB / 1.142 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.062, allocations: 96 / 1.142 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/1.062, allocations: 7.969 kB / 1.142 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003809/1.066, allocations: 2.021 MB / 1.143 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.066, allocations: 4 kB / 1.143 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006161/1.067, allocations: 151.8 kB / 1.144 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004746/1.067, allocations: 92.7 kB / 1.144 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.57e-05/1.067, allocations: 23.98 kB / 1.144 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/1.069, allocations: 1.544 MB / 1.145 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.069, allocations: 0 / 1.145 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/1.071, allocations: 1.023 MB / 1.146 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/1.072, allocations: 287.7 kB / 1.147 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/1.072, allocations: 20 kB / 1.147 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000705/1.073, allocations: 85.17 kB / 1.147 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/1.073, allocations: 72.89 kB / 1.147 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.63e-05/1.073, allocations: 31.98 kB / 1.147 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007153/1.074, allocations: 467 kB / 1.147 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.91e-07/1.074, allocations: 3.938 kB / 1.147 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001118/1.075, allocations: 327.1 kB / 1.147 GB, free: 10.57 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 (93): * Single equations (assignments): 87 * 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.003721/1.079, allocations: 2.093 MB / 1.15 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001729/1.08, allocations: 0.8195 MB / 1.15 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.08, allocations: 0 / 1.15 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009527/1.081, allocations: 0.5278 MB / 1.151 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/1.083, allocations: 263.9 kB / 1.151 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/1.096, allocations: 5.287 MB / 1.156 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007159/1.096, allocations: 1.043 MB / 1.157 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.00102/1.097, allocations: 274.6 kB / 1.158 GB, free: 276 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006394/1.098, allocations: 403.3 kB / 1.158 GB, free: 15.87 MB / 0.92 GB Notification: Performance of SimCode: time 6.31e-07/1.098, allocations: 0 / 1.158 GB, free: 15.87 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04965/1.148, allocations: 21.84 MB / 1.179 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/1.148, allocations: 305.5 kB / 1.18 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/3.574, allocations: 4 kB / 1.18 GB, free: 10.1 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat does not exist to compare? outputFormat=mat