Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_9_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.00756/0.007561, allocations: 100.7 kB / 15.73 MB, free: 6.035 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.001891/0.001891, allocations: 199.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.258/2.258, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 62.62 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2472, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005954/0.2532, allocations: 4.426 MB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1432/0.3964, allocations: 150.6 MB / 1.239 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007364/0.3971, allocations: 19.88 kB / 1.239 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005147/0.3977, allocations: 182.3 kB / 1.239 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.3993, allocations: 0.5066 MB / 1.24 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.4012, allocations: 0.8627 MB / 1.24 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.4024, allocations: 1.336 MB / 1.242 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008436/0.4033, allocations: 0.6908 MB / 1.242 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005493/0.4038, allocations: 0.5021 MB / 1.243 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004808/0.4043, allocations: 0.5328 MB / 1.243 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.4045, allocations: 124 kB / 1.244 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008814/0.4053, allocations: 0.5035 MB / 1.244 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.4056, allocations: 326.9 kB / 1.244 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004869/0.4061, allocations: 0.579 MB / 1.245 GB, free: 148 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.408, allocations: 1.718 MB / 1.247 GB, free: 14.42 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.408, allocations: 0 / 1.247 GB, free: 14.42 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.423e-06/0.408, allocations: 0 / 1.247 GB, free: 14.42 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.4081, allocations: 0 / 1.247 GB, free: 14.42 MB / 1.014 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.002339/0.4104, allocations: 1.488 MB / 1.248 GB, free: 12.88 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.4105, allocations: 12.03 kB / 1.248 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.4106, allocations: 152.2 kB / 1.248 GB, free: 12.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.4116, allocations: 215.2 kB / 1.248 GB, free: 12.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.4127, allocations: 0.7809 MB / 1.249 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/0.4128, allocations: 70 kB / 1.249 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.4129, allocations: 95.98 kB / 1.249 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.4145, allocations: 1.016 MB / 1.25 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.4145, allocations: 4 kB / 1.25 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.001e-05/0.4146, allocations: 40 kB / 1.25 GB, free: 10.42 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.4146, allocations: 24 kB / 1.25 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.4164, allocations: 1.175 MB / 1.252 GB, free: 9.215 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00381/0.4203, allocations: 2.667 MB / 1.254 GB, free: 6.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.4218, allocations: 0.9043 MB / 1.255 GB, free: 5.559 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005373/0.4224, allocations: 310.7 kB / 1.255 GB, free: 5.25 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000581/0.423, allocations: 478.1 kB / 1.256 GB, free: 4.691 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000819/0.4238, allocations: 0.4952 MB / 1.256 GB, free: 4.176 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.334e-06/0.4238, allocations: 0 / 1.256 GB, free: 4.176 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003122/0.427, allocations: 1.237 MB / 1.257 GB, free: 2.914 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.958e-05/0.4271, allocations: 188.6 kB / 1.258 GB, free: 2.688 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007664/0.4278, allocations: 0.6449 MB / 1.258 GB, free: 2.035 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.94e-05/0.4279, allocations: 41.7 kB / 1.258 GB, free: 1.988 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.4282, allocations: 432.2 kB / 1.259 GB, free: 1.559 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.4284, allocations: 264.2 kB / 1.259 GB, free: 1.297 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.4287, allocations: 150.5 kB / 1.259 GB, free: 1.141 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4288, allocations: 386.8 kB / 1.259 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.4293, allocations: 253.9 kB / 1.26 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005927/0.4299, allocations: 370.5 kB / 1.26 GB, free: 120 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.458/0.8879, allocations: 0.5947 MB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.888, allocations: 1.531 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002035/0.89, allocations: 0.8206 MB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.8901, allocations: 7.906 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.8901, allocations: 0.9375 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006043/0.8907, allocations: 83.94 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006747/0.8914, allocations: 155 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.8932, allocations: 1.628 MB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006713/0.8939, allocations: 94.03 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.072e-05/0.894, allocations: 32.66 kB / 1.263 GB, free: 172 MB / 1.014 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 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004332/0.8944, allocations: 285.2 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.8946, allocations: 88.38 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/0.897, allocations: 1.09 MB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.8971, allocations: 9.438 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.8971, allocations: 8.625 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.8971, allocations: 4.688 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/0.9005, allocations: 2.011 MB / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.9005, allocations: 0 / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000624/0.9011, allocations: 155.8 kB / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004118/0.9015, allocations: 71.83 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.255e-05/0.9016, allocations: 25.95 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.9032, allocations: 1.662 MB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.9032, allocations: 0 / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.9052, allocations: 1.025 MB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/0.9056, allocations: 278.9 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.9057, allocations: 18.75 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006386/0.9064, allocations: 65.75 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.9066, allocations: 73 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-05/0.9067, allocations: 33.78 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006447/0.9073, allocations: 472.1 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9073, allocations: 3.562 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009391/0.9083, allocations: 337.8 kB / 1.271 GB, free: 168.2 MB / 1.014 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003587/0.9118, allocations: 2.077 MB / 1.273 GB, free: 167.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001936/0.9138, allocations: 0.8237 MB / 1.274 GB, free: 166.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.9138, allocations: 0.6875 kB / 1.274 GB, free: 166.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.9149, allocations: 0.5276 MB / 1.274 GB, free: 166.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.916, allocations: 303 kB / 1.275 GB, free: 166.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.9265, allocations: 6.499 MB / 1.281 GB, free: 163.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.9271, allocations: 1.044 MB / 1.282 GB, free: 162.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008144/0.9279, allocations: 263.9 kB / 1.282 GB, free: 162.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/0.9284, allocations: 408.7 kB / 1.283 GB, free: 162.1 MB / 1.014 GB Notification: Performance of SimCode: time 6.52e-07/0.9284, allocations: 0 / 1.283 GB, free: 162.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04859/0.977, allocations: 21.94 MB / 1.304 GB, free: 154.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.29, allocations: 13.55 kB / 1.304 GB, free: 154.8 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches